mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-10-15 18:11:52 +00:00
[GH-ISSUE #46] Silero TTS launched but isn't connected to the SillyTavern #35
Labels
No labels
bug
duplicate
planned
pull-request
under consideration
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Extras#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
Press CTRL+C to quit
127.0.0.1 - - [05/Jun/2023 20:21:16] "GET /tts/speakers HTTP/1.1" 404 -
@Cohee1207 commented on GitHub (Jun 6, 2023):
Do you have an established connection of Extras to your SillyTavern?
@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.
@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
@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_serverYour 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.
@wereretot commented on GitHub (Jun 11, 2023):
Yes
@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.
@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@Cohee1207 commented on GitHub (Jun 16, 2023):
Please updated your ST + Extras install. Silero should be functional. If not - please reopen.