[GH-ISSUE #46] Silero TTS launched but isn't connected to the SillyTavern #35

Closed
opened 2026-10-15 18:03:38 +00:00 by bsakaguchi · 8 comments
Owner

Originally created by @wereretot on GitHub (Jun 6, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/46

python3 server.py --enable-modules=summarize,tts,classify,chromadb,
/home/rexommendation/Programs/SillyTavern-extras/server.py:73: DeprecationWarning: Nesting argument groups is deprecated.
local_sd = sd_group.add_argument_group("sd-local")
/home/rexommendation/Programs/SillyTavern-extras/server.py:77: DeprecationWarning: Nesting argument groups is deprecated.
remote_sd = sd_group.add_argument_group("sd-remote")
Initializing a text summarization model...
Initializing a sentiment classification pipeline...
tts module is deprecated. Please use silero-tts instead.
Initializing Silero TTS server
2023-06-05 20:21:07.251 | INFO | silero_api_server.tts:init:43 - TTS Service loaded successfully
Initializing ChromaDB
ChromaDB is running in-memory with persistence. Persistence is stored in .chroma_db. Can be cleared by deleting the folder or purging db.
Successfully pinged ChromaDB! Your client is successfully connected.
No API key given because you are running locally.

  • Serving Flask app 'server'
  • Debug mode: off
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on http://localhost:5100
    Press CTRL+C to quit
    127.0.0.1 - - [05/Jun/2023 20:21:16] "GET /tts/speakers HTTP/1.1" 404 -
Originally created by @wereretot on GitHub (Jun 6, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/46 python3 server.py --enable-modules=summarize,tts,classify,chromadb, /home/rexommendation/Programs/SillyTavern-extras/server.py:73: DeprecationWarning: Nesting argument groups is deprecated. local_sd = sd_group.add_argument_group("sd-local") /home/rexommendation/Programs/SillyTavern-extras/server.py:77: DeprecationWarning: Nesting argument groups is deprecated. remote_sd = sd_group.add_argument_group("sd-remote") Initializing a text summarization model... Initializing a sentiment classification pipeline... tts module is deprecated. Please use silero-tts instead. Initializing Silero TTS server 2023-06-05 20:21:07.251 | INFO | silero_api_server.tts:__init__:43 - TTS Service loaded successfully Initializing ChromaDB ChromaDB is running in-memory with persistence. Persistence is stored in .chroma_db. Can be cleared by deleting the folder or purging db. Successfully pinged ChromaDB! Your client is successfully connected. No API key given because you are running locally. * Serving Flask app 'server' * Debug mode: off WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on http://localhost:5100 Press CTRL+C to quit 127.0.0.1 - - [05/Jun/2023 20:21:16] "GET /tts/speakers HTTP/1.1" 404 -
Author
Owner

@Cohee1207 commented on GitHub (Jun 6, 2023):

Do you have an established connection of Extras to your SillyTavern?

<!-- gh-comment-id:1577726613 --> @Cohee1207 commented on GitHub (Jun 6, 2023): Do you have an established connection of Extras to your SillyTavern?
Author
Owner

@k0rax commented on GitHub (Jun 7, 2023):

I don't know if I did it right, but I downloaded both silero-api-server and SillyTavern-extras, and put them both in an EXTRAS folder in the SillyTavern project directory. Then launch the server SillyTavern\EXTRAS\silero-api-server\silero_api_server\server.py separately.

<!-- gh-comment-id:1580556073 --> @k0rax commented on GitHub (Jun 7, 2023): I don't know if I did it right, but I downloaded both silero-api-server and SillyTavern-extras, and put them both in an EXTRAS folder in the SillyTavern project directory. Then launch the server SillyTavern\EXTRAS\silero-api-server\silero_api_server\server.py separately.
Author
Owner

@k0rax commented on GitHub (Jun 7, 2023):

also needed to put this: Programs\Python\Python310\python.exe server.py --enable-modules=silero-tts,caption,summarize,chromadb

<!-- gh-comment-id:1580570993 --> @k0rax commented on GitHub (Jun 7, 2023): also needed to put this: Programs\Python\Python310\python.exe server.py --enable-modules=silero-tts,caption,summarize,chromadb
Author
Owner

@Cohee1207 commented on GitHub (Jun 7, 2023):

You don't need to download silero-api-server separately if you use it with extras (they can be separate servers). It is fetched and used as a pip package, you just need to install requirements from requirements-complete.txt or run pip install silero_api_server
Your launch string looks okay. As you launch ST and connect to extras, you should put the extras URL as a Silero API server URL.

P.S. Also I think I missed the case with the automatic substitution of the server URL on the new module name being used, will fix it shortly, it won't hurt the functionality anyway.

<!-- gh-comment-id:1580612207 --> @Cohee1207 commented on GitHub (Jun 7, 2023): You don't need to download silero-api-server separately if you use it with extras (they can be separate servers). It is fetched and used as a pip package, you just need to install requirements from requirements-complete.txt or run `pip install silero_api_server` Your launch string looks okay. As you launch ST and connect to extras, you should put the extras URL as a Silero API server URL. P.S. Also I think I missed the case with the automatic substitution of the server URL on the new module name being used, will fix it shortly, it won't hurt the functionality anyway.
Author
Owner

@wereretot commented on GitHub (Jun 11, 2023):

Do you have an established connection of Extras to your SillyTavern?

Yes

<!-- gh-comment-id:1586059814 --> @wereretot commented on GitHub (Jun 11, 2023): > Do you have an established connection of Extras to your SillyTavern? Yes
Author
Owner

@bucketcat commented on GitHub (Jun 12, 2023):

I have to run Silerto-tts externally for it to work. So, both specifying it in the extras, and then launching it in a separate terminal to get the localhost API url which is then pasted in the webUI.

<!-- gh-comment-id:1587517649 --> @bucketcat commented on GitHub (Jun 12, 2023): I have to run Silerto-tts externally for it to work. So, both specifying it in the extras, and then launching it in a separate terminal to get the localhost API url which is then pasted in the webUI.
Author
Owner

@Cohee1207 commented on GitHub (Jun 12, 2023):

Ok, I think I get the issue now. Extras were updated to redirect the tts module to silero-tts, but the main branch of ST only auto-substitutes the Extras URL to Silero server URL input if the module name IS tts. It should only be an issue with server link auto-substitution. Your Silero-compatible Extras address should look like this:
http://localhost:5100/api/tts

<!-- gh-comment-id:1588176395 --> @Cohee1207 commented on GitHub (Jun 12, 2023): Ok, I think I get the issue now. Extras were updated to redirect the tts module to silero-tts, but the main branch of ST only auto-substitutes the Extras URL to Silero server URL input if the module name IS tts. It should only be an issue with server link auto-substitution. Your Silero-compatible Extras address should look like this: `http://localhost:5100/api/tts`
Author
Owner

@Cohee1207 commented on GitHub (Jun 16, 2023):

Please updated your ST + Extras install. Silero should be functional. If not - please reopen.

<!-- gh-comment-id:1595124483 --> @Cohee1207 commented on GitHub (Jun 16, 2023): Please updated your ST + Extras install. Silero should be functional. If not - please reopen.
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#35
No description provided.