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