Adel-Moumen commited on
Commit
a9f7a5e
1 Parent(s): 035e25c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -85,7 +85,7 @@ Please notice that we encourage you to read our tutorials and learn more about
85
  ### Transcribing and semantically annotating your own audio files (in French)
86
 
87
  ```python
88
- from speechbrain.pretrained import EncoderASR
89
 
90
  asr_model = EncoderASR.from_hparams(source="speechbrain/slu-wav2vec2-ctc-MEDIA-relax", savedir="pretrained_models/slu-wav2vec2-ctc-MEDIA-relax")
91
  asr_model.transcribe_file('speechbrain/slu-wav2vec2-ctc-MEDIA-relax/example-fr.wav')
85
  ### Transcribing and semantically annotating your own audio files (in French)
86
 
87
  ```python
88
+ from speechbrain.inference.ASR import EncoderASR
89
 
90
  asr_model = EncoderASR.from_hparams(source="speechbrain/slu-wav2vec2-ctc-MEDIA-relax", savedir="pretrained_models/slu-wav2vec2-ctc-MEDIA-relax")
91
  asr_model.transcribe_file('speechbrain/slu-wav2vec2-ctc-MEDIA-relax/example-fr.wav')