Adel-Moumen
commited on
Commit
•
95436f5
1
Parent(s):
0ffbc9f
Update README.md
Browse files
README.md
CHANGED
@@ -76,7 +76,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
76 |
|
77 |
```python
|
78 |
|
79 |
-
from speechbrain.
|
80 |
|
81 |
asr_model = WhisperASR.from_hparams(source="speechbrain/asr-whisper-medium-commonvoice-ar", savedir="pretrained_models/asr-whisper-medium-commonvoice-ar")
|
82 |
asr_model.transcribe_file("speechbrain/asr-whisper-medium-commonvoice-ar/example-ar.mp3")
|
|
|
76 |
|
77 |
```python
|
78 |
|
79 |
+
from speechbrain.inference.ASR import WhisperASR
|
80 |
|
81 |
asr_model = WhisperASR.from_hparams(source="speechbrain/asr-whisper-medium-commonvoice-ar", savedir="pretrained_models/asr-whisper-medium-commonvoice-ar")
|
82 |
asr_model.transcribe_file("speechbrain/asr-whisper-medium-commonvoice-ar/example-ar.mp3")
|