Adel-Moumen commited on
Commit
ecffbfc
1 Parent(s): ee19134

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -46,7 +46,7 @@ Please notice that we encourage you to read the SpeechBrain tutorials and learn
46
 
47
  # Transcribing your own audio files (in Amharic)
48
  ```python
49
- from speechbrain.pretrained import EncoderASR
50
  asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-dvoice-amharic", savedir="pretrained_models/asr-wav2vec2-dvoice-amharic")
51
  asr_model.transcribe_file('speechbrain/asr-wav2vec2-dvoice-amharic/example_amharic.wav')
52
  ```
 
46
 
47
  # Transcribing your own audio files (in Amharic)
48
  ```python
49
+ from speechbrain.inference.ASR import EncoderASR
50
  asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-dvoice-amharic", savedir="pretrained_models/asr-wav2vec2-dvoice-amharic")
51
  asr_model.transcribe_file('speechbrain/asr-wav2vec2-dvoice-amharic/example_amharic.wav')
52
  ```