speechbrainteam
commited on
Commit
•
cf42f2c
1
Parent(s):
b01e49e
Update README.md
Browse files
README.md
CHANGED
@@ -41,7 +41,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
41 |
```python
|
42 |
import torch
|
43 |
from speechbrain.inference.vocoders import HIFIGAN
|
44 |
-
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="
|
45 |
mel_specs = torch.rand(2, 80,298)
|
46 |
waveforms = hifi_gan.decode_batch(mel_specs)
|
47 |
```
|
|
|
41 |
```python
|
42 |
import torch
|
43 |
from speechbrain.inference.vocoders import HIFIGAN
|
44 |
+
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="pretrained_models/tts-hifigan-ljspeech")
|
45 |
mel_specs = torch.rand(2, 80,298)
|
46 |
waveforms = hifi_gan.decode_batch(mel_specs)
|
47 |
```
|