Update README.md
Browse files
README.md
CHANGED
@@ -37,7 +37,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
37 |
import torch
|
38 |
from speechbrain.pretrained import UnitHIFIGAN
|
39 |
|
40 |
-
hifi_gan_unit = UnitHIFIGAN.from_hparams(source="
|
41 |
codes = torch.randint(0, 99, (100,))
|
42 |
waveform = hifi_gan_unit.decode_unit(codes)
|
43 |
|
|
|
37 |
import torch
|
38 |
from speechbrain.pretrained import UnitHIFIGAN
|
39 |
|
40 |
+
hifi_gan_unit = UnitHIFIGAN.from_hparams(source="chaanks/hifigan-unit-hubert-l7-k128-ljspeech-ljspeech", savedir="tmpdir_vocoder")
|
41 |
codes = torch.randint(0, 99, (100,))
|
42 |
waveform = hifi_gan_unit.decode_unit(codes)
|
43 |
|