Instructions to use christopherthompson81/chatterbox-tts-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use christopherthompson81/chatterbox-tts-onnx 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
sync from vernacula repo
Browse files- .gitattributes +1 -0
- speech_encoder.onnx_data +3 -0
.gitattributes
CHANGED
|
@@ -39,3 +39,4 @@ embed_tokens.onnx_data filter=lfs diff=lfs merge=lfs -text
|
|
| 39 |
flow_encoder.onnx_data filter=lfs diff=lfs merge=lfs -text
|
| 40 |
language_model.onnx_data filter=lfs diff=lfs merge=lfs -text
|
| 41 |
mel2wav.onnx_data filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 39 |
flow_encoder.onnx_data filter=lfs diff=lfs merge=lfs -text
|
| 40 |
language_model.onnx_data filter=lfs diff=lfs merge=lfs -text
|
| 41 |
mel2wav.onnx_data filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
speech_encoder.onnx_data filter=lfs diff=lfs merge=lfs -text
|
speech_encoder.onnx_data
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b4dddbe6b1a154b4fd36491ba3f68fa01691b2b24bdd83c6a3b6f12b320ae50
|
| 3 |
+
size 2204039936
|