Adel-Moumen
commited on
Commit
•
bc73d81
1
Parent(s):
ccd38f4
Update README.md
Browse files
README.md
CHANGED
@@ -43,8 +43,8 @@ The following is an example of converting text-to-speech with the speaker voice
|
|
43 |
|
44 |
```
|
45 |
import torchaudio
|
46 |
-
from speechbrain.
|
47 |
-
from speechbrain.
|
48 |
|
49 |
# Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
|
50 |
ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="tmpdir_tts")
|
|
|
43 |
|
44 |
```
|
45 |
import torchaudio
|
46 |
+
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="tmpdir_tts")
|