[PR #125] [MERGED] Added argument --coqui-models #206

Closed
opened 2026-10-15 18:05:33 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SillyTavern/SillyTavern-Extras/pull/125
Author: @Tony-sama
Created: 8/15/2023
Status: ✅ Merged
Merged: 8/15/2023
Merged by: @Cohee1207

Base: neo ← Head: neo


📝 Commits (1)

  • 75d48a9 Added argument '--coqui-models=model1,model2' allowing to download given coqui-api models and keep the last one loaded ready for first tts request.

📊 Changes

2 files changed (+45 additions, -0 deletions)

View changed files

📝 modules/text_to_speech/coqui/coqui_module.py (+27 -0)
📝 server.py (+18 -0)

📄 Description

Given a comma separated list of coqui-api model:

  • download them if needed
  • keep the last one loaded for tts (internal behavior of coqui api)

Only tested on desktop but should work on collab.

If model failed to load, provide which one failed and the list of expected model string, then raise a Valuerror exception to crash the server to make sure the user notice the failure.

image
...
image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/SillyTavern/SillyTavern-Extras/pull/125 **Author:** [@Tony-sama](https://github.com/Tony-sama) **Created:** 8/15/2023 **Status:** ✅ Merged **Merged:** 8/15/2023 **Merged by:** [@Cohee1207](https://github.com/Cohee1207) **Base:** `neo` ← **Head:** `neo` --- ### 📝 Commits (1) - [`75d48a9`](https://github.com/SillyTavern/SillyTavern-Extras/commit/75d48a96381994f7b35a39a0ca45827e520c9665) Added argument '--coqui-models=model1,model2' allowing to download given coqui-api models and keep the last one loaded ready for first tts request. ### 📊 Changes **2 files changed** (+45 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `modules/text_to_speech/coqui/coqui_module.py` (+27 -0) 📝 `server.py` (+18 -0) </details> ### 📄 Description Given a comma separated list of coqui-api model: - download them if needed - keep the last one loaded for tts (internal behavior of coqui api) Only tested on desktop but should work on collab. If model failed to load, provide which one failed and the list of expected model string, then raise a Valuerror exception to crash the server to make sure the user notice the failure. ![image](https://github.com/SillyTavern/SillyTavern-extras/assets/48798118/3728a7be-4c6a-4067-9082-4e8babe0a948) ... ![image](https://github.com/SillyTavern/SillyTavern-extras/assets/48798118/627658a6-e95d-4f8a-90e4-34e677ba585a) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 18:05:33 +00:00
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#206
No description provided.