fix readme
#1
by
yingzhi
- opened
README.md
CHANGED
@@ -50,7 +50,7 @@ waveforms = hifi_gan.decode_batch(mel_specs)
|
|
50 |
|
51 |
```python
|
52 |
import torchaudio
|
53 |
-
from speechbrain.
|
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)
|