Commit Graph
100 Commits
Author SHA1 Message Date
erew123 db0171da55 Delete mem_load_test.py 2024-09-21 22:15:02 +01:00
erew123 372aa493d6 MEM Updated
Adds:

- Queue viewer
- Additional Endpoints
- Load Tester
- Updated documentation
2024-09-21 22:14:29 +01:00
erew123 c6cf8afce3 Document rvccharacter_pitch 2024-09-19 08:53:25 +01:00
erew123 375b2ba31e path correction 2024-09-18 07:31:55 +01:00
erew123 e36c67efe4 Add files via upload 2024-09-18 01:35:36 +01:00
erew123 bb26cb8f28 MEM updated w/Queue system & Load Tester
Is there an in-built queue system to handle different requests to different loaded engines?
A: MEM incorporates a built-in queue system to manage multiple TTS requests across loaded engine instances:

All TTS requests are received through the API port (default: 7401).
The queue system distributes incoming requests among available TTS engine instances.
If all engines are busy, new requests are held in a queue until an engine becomes available.
The system continuously checks for available engines to process waiting requests.
If a request cannot be processed within the allocated time, it will be marked as failed.
This queue system aims to balance the load across all running engines efficiently. Advanced features for queue management and dynamic timeout calculations are available and can be configured in the MEM settings.

Note: As this is a research and testing implementation, its performance in high-load or production environments is not guaranteed. For load testing, you can use the provided mem_load_test.py script to simulate multiple simultaneous requests.

To use the load testing tool: `python mem_load_test.py --requests [number_of_requests] --length [text_length] --url "http://127.0.0.1:7501/api/tts-generate"`
2024-09-18 01:09:20 +01:00
erew123 e68ec7d733 add settings mgmt 2024-09-17 11:40:01 +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
erew123 6f75fe1c28 Updated messages within the install routines. 2024-09-15 13:29:21 +01:00
erew123 a1b22c4ca1 Merge pull request #344 from GenericMale/fix-openai-fields
Fix optional fields in OpenAI API
2024-09-14 18:45:37 +01:00
erew123 7f98ef3905 Update requirements_colab.txt 2024-09-13 16:21:47 +01:00
erew123 3d9d10a456 Set FastAPI to 0.112.2
Gradio is still having issues with later version of FastAPI
2024-09-13 16:21:11 +01:00
erew123 8ae881e3b0 Pushed back in Cutlett and Fugashi 2024-09-10 12:40:43 +01:00
erew123 57a6b3ba39 Add note & double setting firstrun false
Added an additional note to the first run splash screen to explain additional models/engines are managed in the gradio interface.
Doubled the effort to mark first time run has been completed.
2024-09-10 11:35:33 +01:00
erew123 da7ecfbb6b SillyTavern Note Added
Added notes on changing the IP/URL and basic details on how to debug/clear out older settings.
2024-09-10 10:42:56 +01:00
erew123 341984315d Update README.md 2024-08-30 13:11:31 +01:00
erew123 d105ca02a5 Update README.md 2024-08-30 13:09:53 +01:00
erew123 b7aa3a7c5c Multi audio sample TTS generation w/XTTS
🟧 Using Single Voice Samples
Voice samples are stored in `/alltalk_tts/voices/` and should be named using the following format `name.wav`. These files will be listed as `name.wav` in the available voices list.

🟧 Using Multiple Voice Samples
If you have multiple voice samples for a single voice, you can organize them into subfolders within the `/alltalk_tts/voices/` directory. Each subfolder should be named according to the voice it contains, up to 5 voice samples will be randomly selected for use.

     • Each subfolder should reflect the name or type of the voice it contains (e.g., female_voice, male_voice).
     • The voice samples inside each subfolder should follow the standard .wav format.
     • An example folder path would be `/alltalk_tts/voices/mynewvoice/` and this would be listed in the available voices list as `mynewvoice/`.

This organization allows for easy selection and management of multiple voice samples while ensuring the system can correctly identify and utilize each voice. Manual CURL API requests would send the folder in the format `mynewvoice/`.
2024-08-30 12:55:06 +01:00
erew123 5cb09eb813 Add files via upload 2024-08-28 12:59:28 +01:00
erew123 c267bb198e Update requirements_colab.txt 2024-08-28 12:49:12 +01:00
erew123 28cb6ca3f0 Update requirements_textgen.txt 2024-08-28 12:48:58 +01:00
erew123 9a0896f692 Update requirements_standalone.txt 2024-08-28 12:48:50 +01:00
erew123 d76b6c2903 Remove continue training 2024-08-28 12:48:27 +01:00
erew123 c66fcee5e1 remove ping_trainingrun 2024-08-28 12:36:51 +01:00
erew123 84db50fc18 Update requirements_textgen.txt 2024-08-24 13:36:56 +01:00
erew123 e5afa958cb Update requirements_standalone.txt 2024-08-24 13:35:34 +01:00
erew123 4775d0db34 work around locked drive letters 2024-08-24 13:30:02 +01:00
erew123 0a1a81a962 Add files via upload 2024-08-21 09:14:53 +01:00
erew123 7e6a972198 Update README.md 2024-08-15 20:06:08 +01:00
erew123 2bc0660770 Update atsetup.bat 2024-08-15 19:55:04 +01:00
erew123 4c016a49a3 Update atsetup.sh 2024-08-15 19:54:15 +01:00
erew123 cf625469f5 Update atsetup.bat 2024-08-15 19:37:12 +01:00
erew123 a1452bf0b7 Upload Parler requirements as a seperate
Parler have updated parts of their script and the requirements cause issues if used with other requirements files as they are too restrictive.
2024-08-15 19:34:23 +01:00
erew123 458b0c38f2 Update requirements_standalone.txt 2024-08-15 19:28:29 +01:00
erew123 2a40143eca Update requirements_colab.txt 2024-08-15 19:28:17 +01:00
erew123 61f36d5b0d Update requirements_textgen.txt 2024-08-15 19:28:02 +01:00
erew123 cc5a665ad6 Update requirements_standalone.txt 2024-08-15 18:27:40 +01:00
erew123 633e14d153 Add files via upload 2024-08-13 13:34:20 +01: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 c1c7b8cf65 Updated Parler to the v1 model (mini and large available) 2024-08-09 10:32:47 +01:00
erew123 df764f71ef update Parler model to v1 mini 2024-08-09 08:46:05 +01:00
erew123 1f0cf09822 Update requirements_colab.txt 2024-08-09 08:36:29 +01:00
erew123 526e71a46e Update requirements_textgen.txt 2024-08-09 08:35:59 +01:00
erew123 569b4a7403 PIP requirements. Merge pull request #301 from IIEleven11/cloud_instance
Update requirements_standalone.txt
2024-08-09 08:33:48 +01:00
erew123 cf93ef1de0 Merge pull request #299 from bmalaski/fixexport
BUGFIX: Exporting Model after Restart
2024-08-08 08:38:12 +01:00
erew123 2560c29771 Updated dropdown size after Distil added 2024-08-04 18:54:06 +01:00
erew123 0be7eae436 Merge pull request #295 from bmalaski/distiled
Add distil-large-v3 for dataset creation
2024-08-04 18:52:49 +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 5257497b57 Notes/warning on docker like environments 2024-07-27 09:17:20 +01:00
erew123 6fac1aa5f9 Additional Instructions. 2024-07-27 09:05:03 +01:00
erew123 4c97c83d25 Added additional instructions 2024-07-27 08:46:29 +01:00
erew123 61e6c2c105 downgrade pip version
python -m pip install --upgrade "pip<24.1"

Due to how the new pip handles requirements
2024-07-27 07:40:19 +01:00
erew123 0755aa033b googlecolab downgrade pip
python -m pip install --upgrade "pip<24.1"
2024-07-27 07:38:38 +01:00
erew123 fe44f3608a atsetup.bat silent install option
-silent command line switch.
2024-07-26 07:44:55 +01:00
erew123 f1c53866ba Czech & Turkish character set 2024-07-22 09:42:22 +01:00
erew123 a9fc8699d8 Extend base API config for Czech & Turkish 2024-07-22 09:01:45 +01:00
erew123 e63b882e52 Extend admin.html character set for TTS 2024-07-21 18:35:35 +01:00
erew123 21064be53a Update finetune.py 2024-07-21 18:10:56 +01:00
erew123 c03ab37dd2 Finetune - Allow number of workers selection 2024-07-21 17:31:52 +01:00
erew123 b03e08405e Update clipboard-to-tts.py 2024-07-17 13:41:38 +01:00
erew123 c31e1f68b5 Update instructions.txt 2024-07-16 16:25:47 +01:00
erew123 d542e6ba14 Clipboard to TTS
A very rough bit of code for Windows to generate TTS from any text sent to the WINDOWS clipboard with Ctrl+C
2024-07-16 16:21:40 +01:00
erew123 0f26ca4bbf API address changes apply correctly 2024-07-13 21:49:37 +01:00
erew123 16152fe135 Added trainer to requirements 2024-07-13 07:19:19 +01:00
erew123 f03f359f41 Merge pull request #255 from bmalaski/alltalkbeta_enhancements
Alltalkbeta enhancements - Finetuning
2024-07-13 07:11:22 +01:00
erew123 e40470fbea Improve diags on systems with no CUDA 2024-07-05 08:31:40 +01:00
erew123 41a059e517 Add files via upload 2024-07-01 09:56:09 +01:00
erew123 797a4b996a Update finetune.py 2024-07-01 08:32:56 +01:00
erew123 bccd7ee971 Update README.md 2024-06-24 09:27:58 +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
erew123 da767a5472 Update requirements_colab.txt 2024-06-22 14:51:40 +01:00
erew123 633113f909 Update requirements_textgen2.txt 2024-06-22 14:51:25 +01:00
erew123 45e3ed9237 Update requirements_standalone.txt
added Pillow
2024-06-22 14:51:06 +01: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 6f4bec7ab2 Extended TTS generation timeout in Gradio
extended the timeout to await a TTS generation response, just to help with Google colab
2024-06-13 12:21:08 +01:00
erew123 6f75ab9f60 WIP Google Colab workbook
This is a work in progress. There are issues to address:
- RVC does not work yet.
- There is a stutter on the 1st TTS generation.
- Transcoding damages the file in some way (seems to be a colab specific issue)
- First model selection and other configuration settings may need to be pre-set.
- Long TTS generations can timeout in Gradio interface, hence should be run on at least a T4 runtime.
2024-06-13 12:18:41 +01:00
erew123 50f335255e Data validation/missing files printout @ console 2024-06-13 10:38:23 +01:00
erew123 037d774f2c Update re Google Colab/DeepSpeed compile
DeepSpeed needs to compile the first time it loads in and a longer wait time is required for the 1st model load with DeepSpeed
2024-06-12 17:13:18 +01:00
erew123 465afd57c8 Accordion on the main Generate screen 2024-06-12 15:35:25 +01:00
erew123 af97384003 Changed a bit of documentation. 2024-06-12 15:21:23 +01:00
erew123 6aa7a182d1 Update atsetup.bat
removed conda log level
2024-06-12 14:32:18 +01:00
erew123 279dd54694 Update the TGWUI Extension
Github is doing something very strange here and shows my file being uploaded 2x, even though I double checked I had selected only the 1x file. Hopefully this doesnt break things
2024-06-12 14:19:57 +01:00
erew123 7fc89885eb Update to deal with TGWUI loading. 2024-06-12 14:04:17 +01:00
erew123 646c615ccf Update confignew.json 2024-06-12 13:01:33 +01:00
erew123 2a87d2d662 Updated numbering, added validation
Updated the numbering of generated wav's so they match within the CSV files.
Added a dataset validation option to compare the Whisper generated wav files vs the transcribed text in the CSV files. This is purely to point you in the direction of data that may need changing/editing within your training dataset.
2024-06-12 11:01:06 +01:00
erew123 cf9b736da3 added word2number 2024-06-12 10:58:41 +01:00
erew123 411b93f55c Prep for Google Colab 2024-06-11 10:19:00 +01:00
erew123 bc0ebc03a6 Removed ryan high and medium
Both those models have issues with generation https://github.com/rhasspy/piper/issues/128
2024-06-11 10:18:17 +01:00
erew123 8b016533c4 initial google colab requirements test 2024-06-10 22:35:51 +01:00
erew123 07ec2325cc Update README.md 2024-06-10 22:23:23 +01:00
erew123 3029319c68 Create .gitignore 2024-06-10 22:16:38 +01:00
erew123 475546133b Delete .gitignore 2024-06-10 22:14:57 +01:00
erew123 af0bb11c4e Path normalisation when splitting files 2024-06-10 21:47:01 +01:00
erew123 6a840a591c Updated diagnostics
Added some extra info and automatic selection/timeout of requirements files.
2024-06-10 16:23:11 +01:00
erew123 e86109aa14 Gradio over LAN access 2024-06-10 10:31:38 +01:00