Adel-Moumen
commited on
Commit
•
745ea99
1
Parent(s):
c63e893
Update README.md
Browse files
README.md
CHANGED
@@ -57,7 +57,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
57 |
### Transcribing your own audio files (in French)
|
58 |
|
59 |
```python
|
60 |
-
from speechbrain.
|
61 |
|
62 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-crdnn-commonvoice-fr", savedir="pretrained_models/asr-crdnn-commonvoice-fr")
|
63 |
asr_model.transcribe_file("speechbrain/asr-crdnn-commonvoice-fr/example-fr.wav")
|
|
|
57 |
### Transcribing your own audio files (in French)
|
58 |
|
59 |
```python
|
60 |
+
from speechbrain.inference.ASR import EncoderDecoderASR
|
61 |
|
62 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-crdnn-commonvoice-fr", savedir="pretrained_models/asr-crdnn-commonvoice-fr")
|
63 |
asr_model.transcribe_file("speechbrain/asr-crdnn-commonvoice-fr/example-fr.wav")
|