Adel-Moumen commited on
Commit
900ecde
1 Parent(s): a0c1c4f

Update README.md

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