Adel-Moumen commited on
Commit
e7f9f8b
1 Parent(s): 97ae797

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -62,7 +62,7 @@ Please notice that we encourage you to read our tutorials and learn more about
62
  ### Transcribing your own audio files (in English)
63
 
64
  ```python
65
- from speechbrain.pretrained import EncoderDecoderASR
66
  asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-transformer-aishell", savedir="pretrained_models/asr-wav2vec2-transformer-aishell")
67
  asr_model.transcribe_file("speechbrain/asr-wav2vec2-transformer-aishell/example_mandarin.wav")
68
  ```
 
62
  ### Transcribing your own audio files (in English)
63
 
64
  ```python
65
+ from speechbrain.inference.ASR import EncoderDecoderASR
66
  asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-transformer-aishell", savedir="pretrained_models/asr-wav2vec2-transformer-aishell")
67
  asr_model.transcribe_file("speechbrain/asr-wav2vec2-transformer-aishell/example_mandarin.wav")
68
  ```