Update README.md
Browse files
README.md
CHANGED
@@ -39,8 +39,8 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
39 |
|
40 |
```python
|
41 |
import torchaudio
|
42 |
-
from speechbrain.
|
43 |
-
from speechbrain.
|
44 |
|
45 |
# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
|
46 |
fastspeech2 = FastSpeech2.from_hparams(source="speechbrain/tts-fastspeech2-ljspeech", savedir="tmpdir_tts")
|
|
|
39 |
|
40 |
```python
|
41 |
import torchaudio
|
42 |
+
from speechbrain.inference.TTS import FastSpeech2
|
43 |
+
from speechbrain.inference.vocoders import HIFIGAN
|
44 |
|
45 |
# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
|
46 |
fastspeech2 = FastSpeech2.from_hparams(source="speechbrain/tts-fastspeech2-ljspeech", savedir="tmpdir_tts")
|