Adel-Moumen
commited on
Commit
•
9e7bfe2
1
Parent(s):
d8cb6ba
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-fa", savedir="pretrained_models/asr-whisper-large-v2-commonvoice-fa")
|
82 |
asr_model.transcribe_file("speechbrain/asr-whisper-large-v2-commonvoice-fa/example-fa.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-fa", savedir="pretrained_models/asr-whisper-large-v2-commonvoice-fa")
|
82 |
asr_model.transcribe_file("speechbrain/asr-whisper-large-v2-commonvoice-fa/example-fa.mp3")
|