Adel-Moumen commited on
Commit
177a941
1 Parent(s): 328bf2e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -54,7 +54,7 @@ Please notice that we encourage you to read our tutorials and learn more about
54
  ## Transcribing Your Own Audio Files
55
 
56
  ```python
57
- from speechbrain.pretrained import EncoderASR
58
 
59
  asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-switchboard", savedir="pretrained_models/asr-wav2vec2-switchboard")
60
  asr_model.transcribe_file('speechbrain/asr-wav2vec2-switchboard/example.wav')
 
54
  ## Transcribing Your Own Audio Files
55
 
56
  ```python
57
+ from speechbrain.inference.ASR import EncoderASR
58
 
59
  asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-switchboard", savedir="pretrained_models/asr-wav2vec2-switchboard")
60
  asr_model.transcribe_file('speechbrain/asr-wav2vec2-switchboard/example.wav')