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