speechbrainteam commited on
Commit
8b6262f
1 Parent(s): 062e835

Update README.md

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