speechbrainteam commited on
Commit
2405793
1 Parent(s): a1f32ca

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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.pretrained import Tacotron2
103
- from speechbrain.pretrained import HIFIGAN
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")