Update README.md
Browse files
README.md
CHANGED
@@ -33,10 +33,14 @@ pip install kittentts
|
|
33 |
|
34 |
```
|
35 |
from kittentts import KittenTTS
|
36 |
-
m = KittenTTS("
|
37 |
|
38 |
audio = m.generate("This high quality TTS model works without a GPU")
|
39 |
|
|
|
|
|
|
|
|
|
40 |
```
|
41 |
|
42 |
|
|
|
33 |
|
34 |
```
|
35 |
from kittentts import KittenTTS
|
36 |
+
m = KittenTTS("KittenML/kitten-tts-nano-0.1")
|
37 |
|
38 |
audio = m.generate("This high quality TTS model works without a GPU")
|
39 |
|
40 |
+
# Save the audio
|
41 |
+
import soundfile as sf
|
42 |
+
sf.write('output.wav', audio, 24000)
|
43 |
+
|
44 |
```
|
45 |
|
46 |
|