Adel-Moumen commited on
Commit
bc73d81
1 Parent(s): ccd38f4

Update README.md

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