Update README.md
Browse files
README.md
CHANGED
|
@@ -47,8 +47,8 @@ from speechbrain.inference.TTS import MSTacotron2
|
|
| 47 |
from speechbrain.inference.vocoders import HIFIGAN
|
| 48 |
|
| 49 |
# Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
|
| 50 |
-
ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="
|
| 51 |
-
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="
|
| 52 |
|
| 53 |
# Required input
|
| 54 |
REFERENCE_SPEECH = "speech_sample.wav"
|
|
@@ -72,8 +72,8 @@ from speechbrain.inference.TTS import MSTacotron2
|
|
| 72 |
from speechbrain.inference.vocoders import HIFIGAN
|
| 73 |
|
| 74 |
# Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
|
| 75 |
-
ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="
|
| 76 |
-
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="
|
| 77 |
|
| 78 |
# Required input
|
| 79 |
INPUT_TEXT = "Mary had a little lamb"
|
|
@@ -98,8 +98,8 @@ from speechbrain.inference.TTS import MSTacotron2
|
|
| 98 |
from speechbrain.inference.vocoders import HIFIGAN
|
| 99 |
|
| 100 |
# Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
|
| 101 |
-
ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="
|
| 102 |
-
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="
|
| 103 |
|
| 104 |
# Required input
|
| 105 |
REFERENCE_SPEECH = "speech_sample.wav"
|
|
|
|
| 47 |
from speechbrain.inference.vocoders import HIFIGAN
|
| 48 |
|
| 49 |
# Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
|
| 50 |
+
ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="pretrained_models/tts-mstacotron2-libritts")
|
| 51 |
+
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="pretrained_models/tts-hifigan-libritts-22050Hz")
|
| 52 |
|
| 53 |
# Required input
|
| 54 |
REFERENCE_SPEECH = "speech_sample.wav"
|
|
|
|
| 72 |
from speechbrain.inference.vocoders import HIFIGAN
|
| 73 |
|
| 74 |
# Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
|
| 75 |
+
ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="pretrained_models/tts-mstacotron2-libritt")
|
| 76 |
+
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="pretrained_models/tts-hifigan-libritts-22050Hz")
|
| 77 |
|
| 78 |
# Required input
|
| 79 |
INPUT_TEXT = "Mary had a little lamb"
|
|
|
|
| 98 |
from speechbrain.inference.vocoders import HIFIGAN
|
| 99 |
|
| 100 |
# Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
|
| 101 |
+
ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="pretrained_models/tts-mstacotron2-libritts")
|
| 102 |
+
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="pretrained_models/tts-hifigan-libritts-22050Hz")
|
| 103 |
|
| 104 |
# Required input
|
| 105 |
REFERENCE_SPEECH = "speech_sample.wav"
|