Adel-Moumen commited on
Commit
496fb68
1 Parent(s): a1a126c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -56,7 +56,7 @@ Please notice that we encourage you to read our tutorials and learn more about
56
  ### Transcribing your own audio files (in English)
57
 
58
  ```python
59
- from speechbrain.pretrained import EncoderDecoderASR
60
 
61
  asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-en", savedir="pretrained_models/asr-wav2vec2-commonvoice-en")
62
  asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-en/example.wav")
 
56
  ### Transcribing your own audio files (in English)
57
 
58
  ```python
59
+ from speechbrain.inference.ASR import EncoderDecoderASR
60
 
61
  asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-en", savedir="pretrained_models/asr-wav2vec2-commonvoice-en")
62
  asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-en/example.wav")