yingzhi commited on
Commit
9eb1b6c
1 Parent(s): 2405793

fix readme

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -50,7 +50,7 @@ waveforms = hifi_gan.decode_batch(mel_specs)
50
 
51
  ```python
52
  import torchaudio
53
- from speechbrain.pretrained import HIFIGAN
54
  from speechbrain.lobes.models.FastSpeech2 import mel_spectogram
55
 
56
  # Load a pretrained HIFIGAN Vocoder
@@ -99,7 +99,7 @@ torchaudio.save('waveform_reconstructed.wav', waveforms.squeeze(1), 22050)
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)
 
50
 
51
  ```python
52
  import torchaudio
53
+ from speechbrain.inference.vocoders import HIFIGAN
54
  from speechbrain.lobes.models.FastSpeech2 import mel_spectogram
55
 
56
  # Load a pretrained HIFIGAN Vocoder
 
99
  ### Using the Vocoder with the TTS
100
  ```python
101
  import torchaudio
102
+ from speechbrain.inference.TTS import Tacotron2
103
  from speechbrain.inference.vocoders import HIFIGAN
104
 
105
  # Intialize TTS (tacotron2) and Vocoder (HiFIGAN)