poonehmousavi commited on
Commit
acd451a
1 Parent(s): a6ebb11

Update README.md

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