Instructions to use aiplexdeveloper/chatterbox with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use aiplexdeveloper/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 requirements.txt
Browse files- requirements.txt +3 -0
requirements.txt
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
torch==2.1.0
|
| 2 |
torchvision==0.16.0
|
| 3 |
torchaudio==2.1.0
|
|
|
|
| 1 |
+
# Install local .whl
|
| 2 |
+
./libs/chatterbox_tts-0.1.2-py3-none-any.whl
|
| 3 |
+
|
| 4 |
torch==2.1.0
|
| 5 |
torchvision==0.16.0
|
| 6 |
torchaudio==2.1.0
|