Adel-Moumen
commited on
Commit
•
1196b9e
1
Parent(s):
4c8c29e
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-large-v2-commonvoice-hi", savedir="pretrained_models/asr-whisper-large-v2-commonvoice-hi")
|
82 |
asr_model.transcribe_file("speechbrain/asr-whisper-large-v2-commonvoice-hi/example-hi.mp3")
|
|
|
76 |
|
77 |
```python
|
78 |
|
79 |
+
from speechbrain.inference.ASR import WhisperASR
|
80 |
|
81 |
asr_model = WhisperASR.from_hparams(source="speechbrain/asr-whisper-large-v2-commonvoice-hi", savedir="pretrained_models/asr-whisper-large-v2-commonvoice-hi")
|
82 |
asr_model.transcribe_file("speechbrain/asr-whisper-large-v2-commonvoice-hi/example-hi.mp3")
|