[GH-ISSUE #192] 'Model is not multi-lingual but language is provided' when using XTTSv2 #117

Open
opened 2026-10-15 18:04:36 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @wereretot on GitHub (Nov 28, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/192

python -m xtts_api_server
Folder in the path /home/rexommendation/Programs/SillyTavern-extras/output has been created
Folder in the path /home/rexommendation/Programs/SillyTavern-extras/speakers has been created
2023-11-28 14:29:52.350 | WARNING | xtts_api_server.modeldownloader:upgrade_tts_package:34 - TTS version is outdated, attempting to upgrade TTS...
2023-11-28 14:29:55.863 | INFO | xtts_api_server.modeldownloader:upgrade_tts_package:36 - TTS has been successfully upgraded
2023-11-28 14:29:55.863 | INFO | xtts_api_server.server::39 - The model v2.0.2 starts to load,wait until it loads
[XTTS] Downloading LICENSE.txt...
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 4.01k/4.01k [00:00<00:00, 32.4MiB/s]
[XTTS] Downloading README.md...
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 4.05k/4.05k [00:00<00:00, 27.0MiB/s]
[XTTS] Downloading config.json...
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 4.36k/4.36k [00:00<00:00, 25.2MiB/s]
[XTTS] Downloading dvae.pth...
100%|███████████████████████████████████████████████████████████████████████████████████████████████| 211M/211M [00:05<00:00, 38.9MiB/s]
[XTTS] Downloading hash.md5...
100%|████████████████████████████████████████████████████████████████████████████████████████████████| 32.0/32.0 [00:00<00:00, 240kiB/s]
[XTTS] Downloading mel_stats.pth...
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 1.07k/1.07k [00:00<00:00, 2.54kiB/s]
[XTTS] Downloading model.pth...
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 1.86G/1.86G [00:50<00:00, 36.7MiB/s]
[XTTS] Downloading vocab.json...
100%|███████████████████████████████████████████████████████████████████████████████████████████████| 335k/335k [00:00<00:00, 6.90MiB/s]

Using model: xtts
2023-11-28 14:33:27.145 | INFO | xtts_api_server.tts_funcs:load_model:80 - Model successfully loaded
INFO: Started server process [11854]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://localhost:8020 (Press CTRL+C to quit)
INFO: 127.0.0.1:55384 - "OPTIONS /speakers HTTP/1.1" 200 OK
INFO: 127.0.0.1:55384 - "GET /speakers HTTP/1.1" 200 OK
INFO: 127.0.0.1:55384 - "GET /speakers HTTP/1.1" 200 OK
INFO: 127.0.0.1:55384 - "GET /speakers HTTP/1.1" 200 OK
INFO: 127.0.0.1:39306 - "GET /speakers HTTP/1.1" 200 OK
INFO: 127.0.0.1:39316 - "GET /sample/Fem1.wav HTTP/1.1" 200 OK
INFO: 127.0.0.1:39306 - "GET /speakers HTTP/1.1" 200 OK
INFO: 127.0.0.1:39554 - "GET /speakers HTTP/1.1" 200 OK
INFO: 127.0.0.1:39554 - "GET /speakers HTTP/1.1" 200 OK
INFO: 127.0.0.1:54716 - "GET /speakers HTTP/1.1" 200 OK
INFO: 127.0.0.1:54716 - "OPTIONS /tts_to_audio/ HTTP/1.1" 200 OK
2023-11-28 14:38:38.414 | ERROR | xtts_api_server.server:tts_to_audio:143 - Model is not multi-lingual but language is provided.
INFO: 127.0.0.1:54716 - "POST /tts_to_audio/ HTTP/1.1" 500 Internal Server Error
INFO: 127.0.0.1:53542 - "GET /speakers HTTP/1.1" 200 OK
INFO: 127.0.0.1:53542 - "GET /speakers HTTP/1.1" 200 OK
2023-11-28 14:41:48.289 | ERROR | xtts_api_server.server:tts_to_audio:143 - Model is not multi-lingual but language is provided.
INFO: 127.0.0.1:57032 - "POST /tts_to_audio/ HTTP/1.1" 500 Internal Server Error

Originally created by @wereretot on GitHub (Nov 28, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/192 python -m xtts_api_server Folder in the path /home/rexommendation/Programs/SillyTavern-extras/output has been created Folder in the path /home/rexommendation/Programs/SillyTavern-extras/speakers has been created 2023-11-28 14:29:52.350 | WARNING | xtts_api_server.modeldownloader:upgrade_tts_package:34 - TTS version is outdated, attempting to upgrade TTS... 2023-11-28 14:29:55.863 | INFO | xtts_api_server.modeldownloader:upgrade_tts_package:36 - TTS has been successfully upgraded 2023-11-28 14:29:55.863 | INFO | xtts_api_server.server:<module>:39 - The model v2.0.2 starts to load,wait until it loads [XTTS] Downloading LICENSE.txt... 100%|█████████████████████████████████████████████████████████████████████████████████████████████| 4.01k/4.01k [00:00<00:00, 32.4MiB/s] [XTTS] Downloading README.md... 100%|█████████████████████████████████████████████████████████████████████████████████████████████| 4.05k/4.05k [00:00<00:00, 27.0MiB/s] [XTTS] Downloading config.json... 100%|█████████████████████████████████████████████████████████████████████████████████████████████| 4.36k/4.36k [00:00<00:00, 25.2MiB/s] [XTTS] Downloading dvae.pth... 100%|███████████████████████████████████████████████████████████████████████████████████████████████| 211M/211M [00:05<00:00, 38.9MiB/s] [XTTS] Downloading hash.md5... 100%|████████████████████████████████████████████████████████████████████████████████████████████████| 32.0/32.0 [00:00<00:00, 240kiB/s] [XTTS] Downloading mel_stats.pth... 100%|█████████████████████████████████████████████████████████████████████████████████████████████| 1.07k/1.07k [00:00<00:00, 2.54kiB/s] [XTTS] Downloading model.pth... 100%|█████████████████████████████████████████████████████████████████████████████████████████████| 1.86G/1.86G [00:50<00:00, 36.7MiB/s] [XTTS] Downloading vocab.json... 100%|███████████████████████████████████████████████████████████████████████████████████████████████| 335k/335k [00:00<00:00, 6.90MiB/s] > Using model: xtts 2023-11-28 14:33:27.145 | INFO | xtts_api_server.tts_funcs:load_model:80 - Model successfully loaded INFO: Started server process [11854] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://localhost:8020 (Press CTRL+C to quit) INFO: 127.0.0.1:55384 - "OPTIONS /speakers HTTP/1.1" 200 OK INFO: 127.0.0.1:55384 - "GET /speakers HTTP/1.1" 200 OK INFO: 127.0.0.1:55384 - "GET /speakers HTTP/1.1" 200 OK INFO: 127.0.0.1:55384 - "GET /speakers HTTP/1.1" 200 OK INFO: 127.0.0.1:39306 - "GET /speakers HTTP/1.1" 200 OK INFO: 127.0.0.1:39316 - "GET /sample/Fem1.wav HTTP/1.1" 200 OK INFO: 127.0.0.1:39306 - "GET /speakers HTTP/1.1" 200 OK INFO: 127.0.0.1:39554 - "GET /speakers HTTP/1.1" 200 OK INFO: 127.0.0.1:39554 - "GET /speakers HTTP/1.1" 200 OK INFO: 127.0.0.1:54716 - "GET /speakers HTTP/1.1" 200 OK INFO: 127.0.0.1:54716 - "OPTIONS /tts_to_audio/ HTTP/1.1" 200 OK 2023-11-28 14:38:38.414 | ERROR | xtts_api_server.server:tts_to_audio:143 - Model is not multi-lingual but `language` is provided. INFO: 127.0.0.1:54716 - "POST /tts_to_audio/ HTTP/1.1" 500 Internal Server Error INFO: 127.0.0.1:53542 - "GET /speakers HTTP/1.1" 200 OK INFO: 127.0.0.1:53542 - "GET /speakers HTTP/1.1" 200 OK 2023-11-28 14:41:48.289 | ERROR | xtts_api_server.server:tts_to_audio:143 - Model is not multi-lingual but `language` is provided. INFO: 127.0.0.1:57032 - "POST /tts_to_audio/ HTTP/1.1" 500 Internal Server Error
Author
Owner

@Cohee1207 commented on GitHub (Nov 28, 2023):

XTTS server is not a part of ST extras. Please create an issue in the original repository: https://github.com/daswer123/xtts-api-server

<!-- gh-comment-id:1830618500 --> @Cohee1207 commented on GitHub (Nov 28, 2023): XTTS server is not a part of ST extras. Please create an issue in the original repository: https://github.com/daswer123/xtts-api-server
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/SillyTavern-Extras#117
No description provided.