Update README.md
Browse files
README.md
CHANGED
@@ -53,8 +53,8 @@ from speechbrain.pretrained import Tacotron2
|
|
53 |
from speechbrain.pretrained import HIFIGAN
|
54 |
|
55 |
# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
|
56 |
-
tacotron2 = Tacotron2.from_hparams(source="speechbrain/
|
57 |
-
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/
|
58 |
|
59 |
# Running the TTS
|
60 |
mel_output, mel_length, alignment = tacotron2.encode_text("Mary had a little lamb")
|
|
|
53 |
from speechbrain.pretrained import HIFIGAN
|
54 |
|
55 |
# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
|
56 |
+
tacotron2 = Tacotron2.from_hparams(source="speechbrain/tts-tacotron2-ljspeech", savedir="tmpdir_tts")
|
57 |
+
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir_vocoder")
|
58 |
|
59 |
# Running the TTS
|
60 |
mel_output, mel_length, alignment = tacotron2.encode_text("Mary had a little lamb")
|