Instructions to use hootan09/ChatterBox with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use hootan09/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) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -149,7 +149,7 @@ uv sync
|
|
| 149 |
source .venv/bin/activate
|
| 150 |
git clone https://github.com/resemble-ai/chatterbox.git
|
| 151 |
cd chatterbox
|
| 152 |
-
# remove gradio and russian
|
| 153 |
python -m pip install -e .
|
| 154 |
|
| 155 |
# mac run:
|
|
|
|
| 149 |
source .venv/bin/activate
|
| 150 |
git clone https://github.com/resemble-ai/chatterbox.git
|
| 151 |
cd chatterbox
|
| 152 |
+
# remove "gradio==5.44.1" and russian-text-stresser from pyproject.toml
|
| 153 |
python -m pip install -e .
|
| 154 |
|
| 155 |
# mac run:
|