Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,41 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
|
5 |
+
# Kitten TTS Mini 0.1 😻
|
6 |
+
|
7 |
+
Kitten TTS is an open-source realistic text-to-speech model with 80 million parameters and around 170MB of filesize.
|
8 |
+
|
9 |
+
|
10 |
+
|
11 |
+
## 🚀 Quick Start
|
12 |
+
|
13 |
+
### Installation
|
14 |
+
|
15 |
+
```
|
16 |
+
pip install https://github.com/KittenML/KittenTTS/releases/download/0.1/kittentts-0.1.0-py3-none-any.whl
|
17 |
+
```
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
### Basic Usage
|
22 |
+
|
23 |
+
```
|
24 |
+
from kittentts import KittenTTS
|
25 |
+
m = KittenTTS("KittenML/kitten-tts-mini-0.1")
|
26 |
+
|
27 |
+
audio = m.generate("This high quality TTS model works without a GPU", voice='expr-voice-2-f' )
|
28 |
+
|
29 |
+
# 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' ]
|
30 |
+
|
31 |
+
# Save the audio
|
32 |
+
import soundfile as sf
|
33 |
+
sf.write('output.wav', audio, 24000)
|
34 |
+
|
35 |
+
|
36 |
+
```
|
37 |
+
|
38 |
+
### Acknowledgements
|
39 |
+
|
40 |
+
StyleTTS 2 architecture
|
41 |
+
|