chaanks commited on
Commit
3ba8c6d
1 Parent(s): b8f9ac5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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.randint(0, 99, (100, 1, 1024))
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
  ```