speechbrainteam commited on
Commit
09f4377
1 Parent(s): 5cef38d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -54,12 +54,12 @@ pip install speechbrain
54
  Please notice that we encourage you to read our tutorials and learn more about
55
  [SpeechBrain](https://speechbrain.github.io).
56
 
57
- ### Transcribing your own audio files
58
 
59
  ```python
60
  from speechbrain.pretrained import EncoderDecoderASR
61
 
62
- asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-crdnn-rnnlm-librispeech")
63
  asr_model.transcribe_file("path_to_your_file.wav")
64
 
65
  ```
54
  Please notice that we encourage you to read our tutorials and learn more about
55
  [SpeechBrain](https://speechbrain.github.io).
56
 
57
+ ### Transcribing your own audio files (in English)
58
 
59
  ```python
60
  from speechbrain.pretrained import EncoderDecoderASR
61
 
62
+ asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-crdnn-rnnlm-librispeech", savedir="pretrained_models/asr-crdnn-rnnlm-librispeech")
63
  asr_model.transcribe_file("path_to_your_file.wav")
64
 
65
  ```