Adel-Moumen
commited on
Commit
•
d46b21f
1
Parent(s):
1e5dd16
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-hi", savedir="pretrained_models/asr-whisper-medium-commonvoice-hi")
|
82 |
asr_model.transcribe_file("speechbrain/asr-whisper-medium-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-medium-commonvoice-hi", savedir="pretrained_models/asr-whisper-medium-commonvoice-hi")
|
82 |
asr_model.transcribe_file("speechbrain/asr-whisper-medium-commonvoice-hi/example-hi.mp3")
|