Update README.md
Browse files
README.md
CHANGED
@@ -41,7 +41,7 @@ import torch
|
|
41 |
from speechbrain.inference.vocoders import UnitHIFIGAN
|
42 |
|
43 |
hifi_gan_unit = UnitHIFIGAN.from_hparams(source="speechbrain/hifigan-wavlm-l1-3-7-12-18-23-continuous-LibriTTS", savedir="pretrained_models/vocoder")
|
44 |
-
codes = torch.
|
45 |
waveform = hifi_gan_unit.decode_unit(codes)
|
46 |
|
47 |
```
|
|
|
41 |
from speechbrain.inference.vocoders import UnitHIFIGAN
|
42 |
|
43 |
hifi_gan_unit = UnitHIFIGAN.from_hparams(source="speechbrain/hifigan-wavlm-l1-3-7-12-18-23-continuous-LibriTTS", savedir="pretrained_models/vocoder")
|
44 |
+
codes = torch.rand(100, 1, 1024)
|
45 |
waveform = hifi_gan_unit.decode_unit(codes)
|
46 |
|
47 |
```
|