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