Update README.md
Browse files
README.md
CHANGED
|
@@ -90,7 +90,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
| 90 |
### Transcribing your own audio files (in English)
|
| 91 |
|
| 92 |
```python
|
| 93 |
-
from speechbrain.
|
| 94 |
|
| 95 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-transformer-transformerlm-librispeech", savedir="pretrained_models/asr-transformer-transformerlm-librispeech")
|
| 96 |
asr_model.transcribe_file("speechbrain/asr-transformer-transformerlm-librispeech/example.wav")
|
|
|
|
| 90 |
### Transcribing your own audio files (in English)
|
| 91 |
|
| 92 |
```python
|
| 93 |
+
from speechbrain.inference.ASR import EncoderDecoderASR
|
| 94 |
|
| 95 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-transformer-transformerlm-librispeech", savedir="pretrained_models/asr-transformer-transformerlm-librispeech")
|
| 96 |
asr_model.transcribe_file("speechbrain/asr-transformer-transformerlm-librispeech/example.wav")
|