Mirco commited on
Commit
e568f72
1 Parent(s): df2633d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -43,7 +43,7 @@ Please notice that we encourage you to read our tutorials and learn more about
43
 
44
  ### Using the Vocoder
45
 
46
- ```
47
  import torch
48
  from speechbrain.pretrained import HIFIGAN
49
  hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir")
@@ -51,7 +51,7 @@ mel_specs = torch.rand(2, 80,298)
51
  waveforms = hifi_gan.decode_batch(mel_specs)
52
  ```
53
  ### Using the Vocoder with the TTS
54
- ```
55
  import torchaudio
56
  from speechbrain.pretrained import Tacotron2
57
  from speechbrain.pretrained import HIFIGAN
 
43
 
44
  ### Using the Vocoder
45
 
46
+ ```python
47
  import torch
48
  from speechbrain.pretrained import HIFIGAN
49
  hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir")
 
51
  waveforms = hifi_gan.decode_batch(mel_specs)
52
  ```
53
  ### Using the Vocoder with the TTS
54
+ ```python
55
  import torchaudio
56
  from speechbrain.pretrained import Tacotron2
57
  from speechbrain.pretrained import HIFIGAN