Instructions to use avraham123/tale-me-chatterbox-v3-browser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use avraham123/tale-me-chatterbox-v3-browser with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-to-speech', 'avraham123/tale-me-chatterbox-v3-browser'); - Chatterbox
How to use avraham123/tale-me-chatterbox-v3-browser 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
Download generation_config.json from avraham123/tale-me-chatterbox-v3-browser: direct link, hf CLI and curl.
- Browser
- Download file 104 Bytes
-
https://huggingface.co/avraham123/tale-me-chatterbox-v3-browser/resolve/main/generation_config.json
- Command line
-
hf download hf://avraham123/tale-me-chatterbox-v3-browser/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/avraham123/tale-me-chatterbox-v3-browser/resolve/main/generation_config.json
104 Bytes
| { | |
| "bos_token_id": 6561, | |
| "eos_token_id": 6562, | |
| "pad_token_id": 6562, | |
| "repetition_penalty": 1.2 | |
| } | |