Adel-Moumen
commited on
Commit
•
78496ef
1
Parent(s):
d60f60f
Update README.md
Browse files
README.md
CHANGED
@@ -61,9 +61,9 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
61 |
### Transcribing your own audio files (in English)
|
62 |
|
63 |
```python
|
64 |
-
from speechbrain.
|
65 |
-
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/
|
66 |
-
asr_model.transcribe_file("speechbrain/
|
67 |
```
|
68 |
|
69 |
### Inference on GPU
|
|
|
61 |
### Transcribing your own audio files (in English)
|
62 |
|
63 |
```python
|
64 |
+
from speechbrain.inference.ASR import EncoderDecoderASR
|
65 |
+
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-crdnn-commonvoice-14-en", savedir="pretrained_models/asr-crdnn-commonvoice-14-en")
|
66 |
+
asr_model.transcribe_file("speechbrain/asr-crdnn-commonvoice-14-en/example_en.wav")
|
67 |
```
|
68 |
|
69 |
### Inference on GPU
|