speechbrain
French
English
speech-to-speech-translation
Adel-Moumen commited on
Commit
3d235da
1 Parent(s): f94667e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -39,8 +39,8 @@ Please notice that we encourage you to read our tutorials and learn more about
39
  ```python
40
  import torch
41
  import torchaudio
42
- from speechbrain.pretrained import EncoderDecoderS2UT
43
- from speechbrain.pretrained import UnitHIFIGAN
44
 
45
  # Intialize S2UT (Transformer) and Vocoder (HiFIGAN Unit)
46
  s2ut = EncoderDecoderS2UT.from_hparams(source="speechbrain/s2st-transformer-fr-en-hubert-l6-k100-cvss", savedir="tmpdir_s2ut")
 
39
  ```python
40
  import torch
41
  import torchaudio
42
+ from speechbrain.inference.ST import EncoderDecoderS2UT
43
+ from speechbrain.inference.vocoders import UnitHIFIGAN
44
 
45
  # Intialize S2UT (Transformer) and Vocoder (HiFIGAN Unit)
46
  s2ut = EncoderDecoderS2UT.from_hparams(source="speechbrain/s2st-transformer-fr-en-hubert-l6-k100-cvss", savedir="tmpdir_s2ut")