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