Adel-Moumen commited on
Commit
5c77d0f
·
verified ·
1 Parent(s): 9f466d3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -74,7 +74,7 @@ Please notice that we encourage you to read our tutorials and learn more about
74
 
75
  ```python
76
 
77
- from speechbrain.pretrained import WhisperASR
78
 
79
  asr_model = WhisperASR.from_hparams(source="speechbrain/asr-whisper-medium-commonvoice-sr", savedir="pretrained_models/asr-whisper-medium-commonvoice-sr")
80
  asr_model.transcribe_file("speechbrain/asr-whisper-medium-commonvoice-sr/example-sr.mp3")
 
74
 
75
  ```python
76
 
77
+ from speechbrain.inference.ASR import WhisperASR
78
 
79
  asr_model = WhisperASR.from_hparams(source="speechbrain/asr-whisper-medium-commonvoice-sr", savedir="pretrained_models/asr-whisper-medium-commonvoice-sr")
80
  asr_model.transcribe_file("speechbrain/asr-whisper-medium-commonvoice-sr/example-sr.mp3")