Instructions to use gabar-tech/chatterbox-amharic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use gabar-tech/chatterbox-amharic with PEFT:
Task type is invalid.
- Chatterbox
How to use gabar-tech/chatterbox-amharic 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
Fix usage example date
Browse files
README.md
CHANGED
|
@@ -99,8 +99,8 @@ control characters. It's a subset of what we run in production.
|
|
| 99 |
|
| 100 |
```python
|
| 101 |
from amharic_text import normalize, split_sentences
|
| 102 |
-
normalize("αΆ/α α α α α
|
| 103 |
-
# 'αΆαα°α α α α α ααα΅ αΊα
α α΅α« α΅
|
| 104 |
```
|
| 105 |
|
| 106 |
## Training data
|
|
|
|
| 99 |
|
| 100 |
```python
|
| 101 |
from amharic_text import normalize, split_sentences
|
| 102 |
+
normalize("αΆ/α α α α α 2018 α.α α α°α°α¨αα ααα« 75% α΅αα
α ααα’")
|
| 103 |
+
# 'αΆαα°α α α α α ααα΅ αΊα
α α΅α« α΅ααα΅ α£αα° αα
α¨α΅ α α°α°α¨αα ααα« α°α£ α αα΅α΅ α ααΆ α΅αα½ α ααα’'
|
| 104 |
```
|
| 105 |
|
| 106 |
## Training data
|