Instructions to use ResembleAI/chatterbox with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use ResembleAI/chatterbox with Chatterbox:
# pip install chatterbox-tts import torchaudio as ta from chatterbox.tts import ChatterboxTTS model = ChatterboxTTS.from_pretrained(device="cuda") text = "Ezreal and Jinx teamed up with Ahri, Yasuo, and Teemo to take down the enemy's Nexus in an epic late-game pentakill." wav = model.generate(text) ta.save("test-1.wav", wav, model.sr) # If you want to synthesize with a different voice, specify the audio prompt AUDIO_PROMPT_PATH="YOUR_FILE.wav" wav = model.generate(text, audio_prompt_path=AUDIO_PROMPT_PATH) ta.save("test-2.wav", wav, model.sr) - Inference
- Notebooks
- Google Colab
- Kaggle
CRITICAL: Failed to load model. Error: 401 Client Error: Unauthorized for url:
#28
by LDaluz - opened
Anybody knows how to solve this: CRITICAL: Failed to load model. Error: 401 Client Error: Unauthorized for url: https://huggingface.co/ResembleAI/chatterbox/resolve/main/ve.safetensors (Request ID: Root=1-6870dd52-5362063e54d0aa9f6ac8536b;556d2bcf-2136-406f-9908-4dcbb80c6618)