Titouan commited on
Commit
a256fa8
1 Parent(s): 9de803c

update readme

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -59,9 +59,9 @@ Please notice that we encourage you to read our tutorials and learn more about
59
  ### Transcribing your own audio files (in English)
60
 
61
  ```python
62
- from speechbrain.pretrained import TransformerASR
63
 
64
- asr_model = TransformerASR.from_hparams(source="speechbrain/asr-transformer-aishell", savedir="pretrained_models/asr-transformer-aishell")
65
  asr_model.transcribe_file("speechbrain/asr-transformer-aishell/example.wav")
66
 
67
  ```
@@ -77,4 +77,4 @@ asr_model.transcribe_file("speechbrain/asr-transformer-aishell/example.wav")
77
  journal = {GitHub repository},
78
  howpublished = {\\\\\\\\url{https://github.com/speechbrain/speechbrain}},
79
  }
80
- ```
 
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-transformer-aishell", savedir="pretrained_models/asr-transformer-aishell")
65
  asr_model.transcribe_file("speechbrain/asr-transformer-aishell/example.wav")
66
 
67
  ```
 
77
  journal = {GitHub repository},
78
  howpublished = {\\\\\\\\url{https://github.com/speechbrain/speechbrain}},
79
  }
80
+ ```