Update README.md
Browse files
README.md
CHANGED
@@ -99,8 +99,8 @@ torchaudio.save('waveform_reconstructed.wav', waveforms.squeeze(1), 22050)
|
|
99 |
### Using the Vocoder with the TTS
|
100 |
```python
|
101 |
import torchaudio
|
102 |
-
from speechbrain.
|
103 |
-
from speechbrain.
|
104 |
|
105 |
# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
|
106 |
tacotron2 = Tacotron2.from_hparams(source="speechbrain/tts-tacotron2-ljspeech", savedir="tmpdir_tts")
|
|
|
99 |
### Using the Vocoder with the TTS
|
100 |
```python
|
101 |
import torchaudio
|
102 |
+
from speechbrain.inference.TTS Tacotron2
|
103 |
+
from speechbrain.inference.vocoders import HIFIGAN
|
104 |
|
105 |
# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
|
106 |
tacotron2 = Tacotron2.from_hparams(source="speechbrain/tts-tacotron2-ljspeech", savedir="tmpdir_tts")
|