Update README.md
Browse files
README.md
CHANGED
@@ -52,11 +52,11 @@ device = 'auto' # Will automatically use GPU if available
|
|
52 |
|
53 |
# English
|
54 |
text = "Did you ever hear a folk tale about a giant turtle?"
|
55 |
-
model = TTS(language='
|
56 |
speaker_ids = model.hps.data.spk2id
|
57 |
|
58 |
output_path = 'en-default.wav'
|
59 |
-
model.tts_to_file(text, speaker_ids['EN-Default'], output_path, speed=speed)
|
60 |
|
61 |
```
|
62 |
|
|
|
52 |
|
53 |
# English
|
54 |
text = "Did you ever hear a folk tale about a giant turtle?"
|
55 |
+
model = TTS(language='EN_NEWEST', device=device)
|
56 |
speaker_ids = model.hps.data.spk2id
|
57 |
|
58 |
output_path = 'en-default.wav'
|
59 |
+
model.tts_to_file(text, speaker_ids['EN-Default-v3'], output_path, speed=speed)
|
60 |
|
61 |
```
|
62 |
|