Adel-Moumen commited on
Commit
c4fc6d1
1 Parent(s): a9fdfb4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -91,7 +91,7 @@ Please notice that we encourage you to read our tutorials and learn more about
91
  ### Transcribing your own audio files (in English)
92
 
93
  ```python
94
- from speechbrain.pretrained import EncoderASR
95
 
96
  asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-librispeech", savedir="pretrained_models/asr-wav2vec2-librispeech")
97
  asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-en/example.wav")
 
91
  ### Transcribing your own audio files (in English)
92
 
93
  ```python
94
+ from speechbrain.inference.ASR import EncoderASR
95
 
96
  asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-librispeech", savedir="pretrained_models/asr-wav2vec2-librispeech")
97
  asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-en/example.wav")