Update README.md
Browse files
README.md
CHANGED
@@ -45,8 +45,8 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
45 |
```
|
46 |
from speechbrain.pretrained import HIFIGAN
|
47 |
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/Vocoder_HiFIGAN", savedir="tmpdir")
|
48 |
-
|
49 |
-
|
50 |
```
|
51 |
### Using the Vocoder with the TTS
|
52 |
```
|
|
|
45 |
```
|
46 |
from speechbrain.pretrained import HIFIGAN
|
47 |
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/Vocoder_HiFIGAN", savedir="tmpdir")
|
48 |
+
mel_specs = torch.rand(2, 80,298)
|
49 |
+
waveforms = hifi_gan.decode_batch(mel_specs)
|
50 |
```
|
51 |
### Using the Vocoder with the TTS
|
52 |
```
|