erew123 / alltalk_tts

AllTalk is based on the Coqui TTS engine, similar to the Coqui_tts extension for Text generation webUI, however supports a variety of advanced features, such as a settings page, low VRAM support, DeepSpeed, narrator, model finetuning, custom models, wav file maintenance. It can also be used with 3rd Party software via JSON calls.
GNU Affero General Public License v3.0
1.06k stars 113 forks source link

Error 500 with Silly Tavern #338

Closed Webslug closed 1 month ago

Webslug commented 1 month ago

Error 500 with Silly Tavern and AllTalk

I seem to get this error when ever I try and generate audio from Silly Tavern.... I am running as an administrator and have Python installed. Various other TTS plugins have worked in the past and I was eager to give this one a go. Silly Tavern connects with no problems. However I cannot see a list of voices in the module menu.

I only downloaded AllTalk and Silly Tavern today 10/09/24

Here is the error I receive. Error: HTTP 500: {"status":"generate-failure","error":"An error occurred"} err1 err2

AllTalk was updated: 10/09/24 Python environment: Python 3.11

Additional context [AllTalk Startup]←[94m ←[1;35m____ ←[0m _ [AllTalk Startup]←[94m / \ | | |←[1;35m | _| | | ←[0m | | / | [AllTalk Startup]←[94m / \ | | |←[1;35m | |/ ` | | |/ / ←[0m | | | | \ \ [AllTalk Startup]←[94m / | | |←[1;35m | | (| | | < ←[0m | | | | ) | [AllTalk Startup]←[94m // __||←[1;35m ||_,|||_\ ←[0m || || |/ [AllTalk Startup] [AllTalk Startup] ←[92mConfig file check : ←[93mNo Updates required←[0m [AllTalk Startup] AllTalk startup Mode : Standalone mode [AllTalk Startup] WAV file deletion : Disabled [AllTalk Startup] DeepSpeed version : 0.14.0+ce78a63 [AllTalk Startup] Model is available : Checking [AllTalk Startup] Model is available : Checked [AllTalk Startup] Current Python Version : 3.11.9 [AllTalk Startup] Current PyTorch Version: 2.2.2+cu121 [AllTalk Startup] Current CUDA Version : 12.1 [AllTalk Startup] Current TTS Version : 0.22.0 [AllTalk Startup] Current TTS Version is : Up to date [AllTalk Startup] AllTalk Github updated : 15th August 2024 at 08:27 [AllTalk Startup] TTS Subprocess : Starting up [AllTalk Startup] [AllTalk Startup] AllTalk Settings & Documentation: http://127.0.0.1:7851 [AllTalk Startup] [AllTalk Model] XTTSv2 Local Loading xttsv2_2.0.2 into cuda [AllTalk Model] Coqui Public Model License [AllTalk Model] https://coqui.ai/cpml.txt [AllTalk Model] Model Loaded in 15.55 seconds. [AllTalk Model] Ready [AllTalk TTSGen] Narrator [AllTalk TTSGen] You wake with a start, recalling the events that led you deep into the forest and the beasts that assailed you. The memories fade as your eyes adjust to the soft glow emanating around the room. [AllTalk TTSGen] Narrator [AllTalk TTSGen] Seraphina's eyes sparkle with warmth and concern as she gazes at you, her hands gently holding yours. [AllTalk TTSGen] Narrator [AllTalk TTSGen] You wake with a start, recalling the events that led you deep into the forest and the beasts that assailed you. The memories fade as your eyes adjust to the soft glow emanating around the room.

erew123 commented 1 month ago

Hi

Although I focus on v2 of AllTalk now, I have tested AllTalk V1 with todays build of SillyTavern:

image

I cannot recreate the issue you are having and it works fine in my tests:

image

The specific error message you show above in your screenshot, is caused by no Narrator voice being specified when trying to generate TTS, which is the knock on effect

I would suggest trying the following:

1) Start AllTalk before you start SillyTavern, to make sure that AllTalk is available for SillyTavern to communicate with and see if that resolves the issue.

2) You can edit out the AllTalk settings, saved by SillyTavern, in its configuration file. The file is stored in \SillyTavern\data\default-user and called settings.json. Take a copy of the file before making any changes.

In that file you will find a section like the following that you can delete out and save the file (highlighted in blue):

image

Then re-load SillyTavern.

3) Check that generally AllTalk is working from its settings page, in the Demo/Test area http://127.0.0.1:7851/

4) Migrate to AllTalk V2 https://github.com/erew123/alltalk_tts/tree/alltalkbeta and follow the instructions to update SillyTavern's AllTalk add in (the instructions are in the built in Documentation).

Thanks