|
--- |
|
license: apache-2.0 |
|
--- |
|
|
|
# Kitten TTS Mini 0.1 😻 |
|
|
|
Kitten TTS is an open-source realistic text-to-speech model with 80 million parameters and around 170MB of filesize. |
|
|
|
|
|
|
|
## 🚀 Quick Start |
|
|
|
### Installation |
|
|
|
``` |
|
pip install https://github.com/KittenML/KittenTTS/releases/download/0.1/kittentts-0.1.0-py3-none-any.whl |
|
``` |
|
|
|
|
|
|
|
### Basic Usage |
|
|
|
``` |
|
from kittentts import KittenTTS |
|
m = KittenTTS("KittenML/kitten-tts-mini-0.1") |
|
|
|
audio = m.generate("This high quality TTS model works without a GPU", voice='expr-voice-2-f' ) |
|
|
|
# available_voices : [ 'expr-voice-2-m', 'expr-voice-2-f', 'expr-voice-3-m', 'expr-voice-3-f', 'expr-voice-4-m', 'expr-voice-4-f', 'expr-voice-5-m', 'expr-voice-5-f' ] |
|
|
|
# Save the audio |
|
import soundfile as sf |
|
sf.write('output.wav', audio, 24000) |
|
|
|
|
|
``` |
|
|
|
### Acknowledgements |
|
|
|
StyleTTS 2 architecture |
|
|
|
|