Commit Graph
87 Commits
Author SHA1 Message Date
Ilyas Hilali 201f03e4f8 Add zh:zh in fallbacks as it is present in the preset of language on the main page 2025-01-05 14:23:20 +01:00
Ilyas Hilali a495c0a239 Add fallbacks languages 2025-01-04 19:03:48 +01:00
Ilyas ecb15200dc Add language auto-detection
* adds langdetect as requirement for colab, standalone and textgen
* adds "auto" to the language dropdown in the Advanced Engine/Model Settings panel
* replace the hardcoded "en" by "auto" when called by the OpenAI compatible Speech API
2025-01-04 00:38:52 +01:00
erew123 aa794e458b Updated Transcode functions
new FFmpeg install required:
ffmpeg-python>=0.2.0
conda install -c conda-forge ffmpeg=*=*gpl*
2024-11-25 23:32:07 +00:00
erew123 9d319ecb3a added extra transcoding logging for debug 2024-11-25 16:30:52 +00:00
erew123 f16f6b9498 Correct passing latent:voice on narrator 2024-11-25 05:25:21 +00:00
erew123 3d3047fb93 Update tts_server.py 2024-11-24 23:53:13 +00:00
erew123 a5550bb254 script.py & tts_server.py updates 2024-11-24 11:12:15 +00:00
erew123 73d3bc7495 Upload of NEW script.py & tts_server.py
Fully re-worked script.py and tts_server.py

### THIS IS THE BIG CHANGE COMMIT FOR V2 ###
2024-11-22 07:36:02 +00:00
erew123 cea89ddb45 Re-work of core system files
Updated:
- script.py
- tts_server.py
- test_server.py (used to test the AllTalk server endpoints)
2024-11-20 00:46:02 +00:00
ekoc 4d12520801 Fixing some bugs 2024-11-15 21:08:08 +01:00
ekoc 8bc14d7692 Using config classes just for tts_server.py as 1st step 2024-11-15 20:17:04 +01:00
erew123 75a3b68551 Update tts_server.py close warning on line 42 2024-11-04 22:47:02 +00:00
erew123 8e466ee119 Update tts_server.py 2024-11-03 12:57:43 +00:00
Michael Andrew 7dd2fd836c Fix for missing pitch when calling run_rvc
- Adds the missing pitch argument when calling `run_rvc()`. Previously this was failing when RVC was enabled and TTS was generated using the OpenAI compatible API interface.
2024-11-01 01:30:56 +13:00
erew123 a8311005aa Better handling of tts_engines.json in corrupt/missing scenario 2024-10-02 00:19:37 +01:00
erew123 16a78a90ef Preview Voice supports RVC now 2024-09-22 10:07:27 +01:00
erew123 37be9472ca Update tts_server.py 2024-09-16 21:54:25 +01:00
erew123 8dbb64c683 Added TTS_mem - Multi Engine Manager
AllTalk MEM (Multi Engine Manager) is a research tool designed to manage and test multiple instances of different Text-to-Speech (TTS) engines being loaded simultaneously, with a view to a centralised engine being able to handle multiple requests simultaneously. AllTalk MEM is currently in a demonstration, testing, and experimental phase.

⚠️ MEM is not intended for production use at this time and there is NO support being offered on MEM. ⚠️
2024-09-16 18:43:56 +01:00
GenericMale 24e6076b40 fix: use sys.executable for subprocess calls 2024-09-13 19:10:52 +02:00
GenericMale cf3635ea48 fix(openai-api): KeyError when response_format or speed omitted 2024-09-13 19:09:07 +02:00
erew123 a8ec5e19ce Attempt locale-independent float value.
Attempt to resolve suspicion that some OS/Language character sets may be using a comma for decimal separation, rather than a period e.g. `10,0` vs `10.0`

This could be affecting the repetition penalty setting with XTTS when called from a command line/terminal request where the period `.` isnt being specifed.
2024-08-10 09:59:48 +01:00
erew123 a40c7a7729 Allow zh and zh-cn 2024-08-09 13:08:02 +01:00
erew123 bf68a89c11 /api/openai-voicemap API endpoint
Can call /api/openai-voicemap with 

curl -X PUT "http://localhost:7851/api/openai-voicemap" -H "Content-Type: application/json" -d "{\"alloy\":\"female_01.wav\",\"echo\":\"female_01.wav\",\"fable\":\"female_01.wav\",\"nova\":\"female_01.wav\",\"onyx\":\"male_01.wav\",\"shimmer\":\"male_02.wav\"}"

Caveats:

- You have to update all the voices in one go, not just one voice.
- Its up to you to ensure you have the correct voices for the TTS engine that's loaded in which you can find currently available on /api/voices
- The in-memory mappings will update, but Gradio will have cached what was originally in the settings, so it wont display the changes in the Gradio interface without a restart of AllTalk/Gradio
2024-07-28 08:52:00 +01:00
erew123 f03f359f41 Merge pull request #255 from bmalaski/alltalkbeta_enhancements
Alltalkbeta enhancements - Finetuning
2024-07-13 07:11:22 +01:00
erew123 4cba3af3b5 Add files via upload 2024-06-22 16:02:12 +01:00
erew123 f016c6cd90 add condition on message 2024-06-22 15:17:12 +01:00
bmalaski a97ad658c1 ported changes form original branch 2024-06-20 22:54:57 -04:00
erew123 92ce5e24bc Update some error messages for Streaming. 2024-06-19 11:08:48 +01:00
erew123 b32c68df29 update default pitch 2024-06-17 20:59:16 +01:00
erew123 84312bb6b4 RVC Pitch on API
adds RVC pitch to the API and generate screen.
Still need to update TGWUI, SillyTavern Extensions along with documentation.
2024-06-17 11:42:54 +01:00
erew123 f3ea73dec9 Add files via upload 2024-06-06 22:55:57 +01:00
erew123 98a74e9625 Add files via upload 2024-06-06 21:12:17 +01:00
erew123 51b5a95563 Delete tts_server.py 2024-06-06 15:27:29 +01:00
erew123 856c0c1baa Add files via upload 2024-04-01 13:04:24 +01:00
erew123 51fa4ce9e9 Cleaner Start-up & mini diags
Updated various bits of code to clean up the AllTalk start-up messages.
2024-04-01 10:48:36 +01:00
erew123 a075495a0a Large Update
TTS Generator - Various interface bugs & filtering options cleaned up.
TTS Generator - TTSDiff now scans generated text and TTS for errors.
TTS Generator - TTSSRT now creates subtitle files for video production e.g. a Youtube video.
Finetune - Now uses a customised tokenizer to deal with Japanese.
Finetune - Pre flight check and warning messages.
Finetune - Extra documentation and warnings.
Entire file structure has been re-organised to simplify management and future changes.
Documentation (built in and Github) has been rewritten/tidied up.
Requirements files have been cleaned up and simplified.
ATsetup has been re-written as necessary with additional options.
DeepSpeed moved up to version 14.
Standalone Application moved to PyTorch 2.2.1.
Nvidia CUDA Toolkit installation is NO LONGER needed (other than to compile DeepSpeed on Linux)

Tested on Linux and Windows.
2024-03-28 21:49:33 +00:00
erew123 c0d01ee931 Update tts_server.py 2024-02-05 14:05:49 +00:00
S95Sedan 64cffcdf80 Updated tts_server.py
With changes in: https://github.com/S95Sedan/alltalk_tts/commit/cefd1e045baf15c68fbdcac15fb1978850f8987f#commitcomment-137124105
2024-01-16 01:47:29 +01:00
S95Sedan 5d406fbbfb Load variables fix
Load temp/repetition variables in tts_server incase of API only usage.
2024-01-16 00:37:10 +01:00
S95Sedan cefd1e045b Temperature and Repetition_penalty modification
Modified script.py to enable temperature and repetition_penalty to be parsed and tts_server.py to recieve those variables.
2024-01-15 21:51:00 +01:00
erew123 467bfbea55 Applied UUID to API generated TTS
To avoid over-writing if 2x generations happen quickly enough.
2024-01-13 21:07:18 +00:00
erew123 11c70c7432 Tidied console messages 2024-01-13 19:03:26 +00:00
erew123 8dc9304a4c Update tts_server.py - _combined path
corrected _combined on narrated without timestamp
2024-01-13 11:37:23 +00:00
erew123 3bc55a91e5 Added streaming API & Current settings endpoint 2024-01-10 11:50:35 +00:00
nicobubulle f2c87dcdab Fix greedy option for regex 2024-01-07 09:25:52 +01:00
erew123 002c5ad9db Update tts_server.py
Added Hungarian characters
2024-01-05 13:26:15 +00:00
erew123 d0dc9f3212 Update tts_server.py
Additional European language & Cyrillic characters
2024-01-04 12:16:21 +00:00
erew123 b11a087dc8 Update tts_server.py
# Start Uvicorn Webserver
host_parameter = params["ip_address"]
port_parameter = int(params["port_number"])

Corrected format
2024-01-03 20:57:21 +00:00
nicobubulle 0ec580539a Regex improvement
Add greedy option to avoid apostrophe being removed
Add accentuated character for foreign language
2024-01-03 16:54:25 +01:00