Update README.md
Browse files
README.md
CHANGED
|
@@ -61,7 +61,7 @@ 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 |
|
| 66 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-crdnn-transformerlm-librispeech", savedir="pretrained_models/asr-crdnn-transformerlm-librispeech")
|
| 67 |
asr_model.transcribe_file("speechbrain/asr-crdnn-transformerlm-librispeech/example.wav")
|
|
|
|
| 61 |
### Transcribing your own audio files (in English)
|
| 62 |
|
| 63 |
```python
|
| 64 |
+
from speechbrain.inference.ASR import EncoderDecoderASR
|
| 65 |
|
| 66 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-crdnn-transformerlm-librispeech", savedir="pretrained_models/asr-crdnn-transformerlm-librispeech")
|
| 67 |
asr_model.transcribe_file("speechbrain/asr-crdnn-transformerlm-librispeech/example.wav")
|