Update README.md
Browse files
README.md
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
---
|
2 |
-
language:
|
|
|
3 |
tags:
|
4 |
- text-to-speech
|
5 |
- TTS
|
6 |
- speech-synthesis
|
7 |
- Tacotron2
|
8 |
- speechbrain
|
9 |
-
license:
|
10 |
datasets:
|
11 |
-
-
|
12 |
metrics:
|
13 |
- mos
|
14 |
---
|
@@ -39,7 +40,7 @@ from speechbrain.pretrained import Tacotron2
|
|
39 |
from speechbrain.pretrained import HIFIGAN
|
40 |
|
41 |
# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
|
42 |
-
tacotron2 = Tacotron2.from_hparams(source="
|
43 |
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir_vocoder")
|
44 |
|
45 |
# Running the TTS
|
@@ -58,9 +59,9 @@ If you want to generate multiple sentences in one-shot, you can do in this way:
|
|
58 |
from speechbrain.pretrained import Tacotron2
|
59 |
tacotron2 = Tacotron2.from_hparams(source="speechbrain/TTS_Tacotron2", savedir="tmpdir")
|
60 |
items = [
|
61 |
-
"
|
62 |
-
"
|
63 |
-
"
|
64 |
]
|
65 |
mel_outputs, mel_lengths, alignments = tacotron2.encode_batch(items)
|
66 |
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- lg
|
4 |
tags:
|
5 |
- text-to-speech
|
6 |
- TTS
|
7 |
- speech-synthesis
|
8 |
- Tacotron2
|
9 |
- speechbrain
|
10 |
+
license: apache-2.0
|
11 |
datasets:
|
12 |
+
- SALT-TTS
|
13 |
metrics:
|
14 |
- mos
|
15 |
---
|
|
|
40 |
from speechbrain.pretrained import HIFIGAN
|
41 |
|
42 |
# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
|
43 |
+
tacotron2 = Tacotron2.from_hparams(source="sunbird/sunbird-lug-tts-commonvoice-male", savedir="tmpdir_tts")
|
44 |
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir_vocoder")
|
45 |
|
46 |
# Running the TTS
|
|
|
59 |
from speechbrain.pretrained import Tacotron2
|
60 |
tacotron2 = Tacotron2.from_hparams(source="speechbrain/TTS_Tacotron2", savedir="tmpdir")
|
61 |
items = [
|
62 |
+
"Nsanyuse okukulaba",
|
63 |
+
"Erinnya lyo ggwe ani?",
|
64 |
+
"Mbagaliza Christmass Enungi Nomwaka Omugya Gubaberere Gwamirembe"
|
65 |
]
|
66 |
mel_outputs, mel_lengths, alignments = tacotron2.encode_batch(items)
|
67 |
|