Chatterbox-TTS-Server icon indicating copy to clipboard operation
Chatterbox-TTS-Server copied to clipboard

model not loaded

Open fsdnotavai opened this issue 1 year ago • 3 comments

despite i already have the models in C:\Users###.cache\huggingface\hub\models--ResembleAI--chatterbox

deleted the model files and tried running for automatic download, but download always stuck, then wait for a few minutes the script decided to keep loading the server without the model.

tried downloading with script, but resulted in error as well.

python download_model.py Traceback (most recent call last): File "G:\conda_envs\Chatterbox-TTS-Server\chatterbox-tts-server\download_model.py", line 9, in from huggingface_hub import hf_hub_download ModuleNotFoundError: No module named 'huggingface_hub'

fsdnotavai avatar Jun 04 '25 15:06 fsdnotavai

Freshly downloaded the models from server.py, then gradio still displays "TTS engine model is not currently loaded or available."

fsdnotavai avatar Jun 05 '25 03:06 fsdnotavai

2025-06-05 11:24:51 [INFO] server: Request received for main UI page ('/'). 2025-06-05 11:24:53 [INFO] server: Request received for /api/ui/initial-data. 2025-06-05 11:24:53 [INFO] utils: Found 28 predefined voices in G:\conda_envs\Chatterbox-TTS-Server\chatterbox-tts-server\voices 2025-06-05 11:24:54 [INFO] server: Request received for /save_settings. 2025-06-05 11:24:54 [INFO] config: TTS processing device resolved to: cuda 2025-06-05 11:24:54 [INFO] config: Configuration successfully saved to config.yaml 2025-06-05 11:24:54 [INFO] config: Configuration updated, saved, and re-resolved successfully. 2025-06-05 11:24:55 [ERROR] server: TTS request failed: Model not loaded. 2025-06-05 11:25:04 [ERROR] server: TTS request failed: Model not loaded.

fsdnotavai avatar Jun 05 '25 03:06 fsdnotavai

Solved the problem by reinstalling torch-2.6.0+cu126-cp310-cp310-win_amd64.whl Don't know what went wrong the first time. The strange thing is, there was no mention of any conflict in the terminal.

fsdnotavai avatar Jun 05 '25 06:06 fsdnotavai