Adel-Moumen commited on
Commit
78496ef
1 Parent(s): d60f60f

Update README.md

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