Closed wereretot closed 1 year ago
Do you have an established connection of Extras to your SillyTavern?
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.
also needed to put this: Programs\Python\Python310\python.exe server.py --enable-modules=silero-tts,caption,summarize,chromadb
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.
Do you have an established connection of Extras to your SillyTavern?
Yes
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.
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
Please updated your ST + Extras install. Silero should be functional. If not - please reopen.
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.