Titouan commited on
Commit
6b8b275
1 Parent(s): 9e5941e
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -57,9 +57,9 @@ Please notice that we encourage you to read our tutorials and learn more about
57
  ### Transcribing your own audio files (in English)
58
 
59
  ```python
60
- from speechbrain.pretrained import TransformerASR
61
 
62
- asr_model = TransformerASR.from_hparams(source="speechbrain/asr-transformer-transformerlm-librispeech", savedir="pretrained_models/asr-transformer-transformerlm-librispeech")
63
  asr_model.transcribe_file("speechbrain/asr-transformer-transformerlm-librispeech/example.wav")
64
 
65
  ```
 
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-transformer-transformerlm-librispeech", savedir="pretrained_models/asr-transformer-transformerlm-librispeech")
63
  asr_model.transcribe_file("speechbrain/asr-transformer-transformerlm-librispeech/example.wav")
64
 
65
  ```