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