Adel-Moumen
commited on
Update README.md
Browse files
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.
|
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")
|