poonehmousavi commited on
Commit
c05d84e
1 Parent(s): 351f618

Update README.md

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