Titouan commited on
Commit
a6de363
1 Parent(s): bc07a6d

change interface name

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -56,9 +56,9 @@ Please notice that we encourage you to read our tutorials and learn more about
56
  ### Transcribing your own audio files
57
 
58
  ```python
59
- from speechbrain.pretrained import EncoderDecoderASR
60
 
61
- asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-transformer-transformerlm-librispeech")
62
  asr_model.transcribe_file("path_to_your_file.wav")
63
 
64
  ```
56
  ### Transcribing your own audio files
57
 
58
  ```python
59
+ from speechbrain.pretrained import TransformerASR
60
 
61
+ asr_model = TransformerASR.from_hparams(source="speechbrain/asr-transformer-transformerlm-librispeech")
62
  asr_model.transcribe_file("path_to_your_file.wav")
63
 
64
  ```