Adel-Moumen
commited on
Commit
•
1f18745
1
Parent(s):
87def57
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-conformersmall-transformerlm-librispeech", savedir="pretrained_models/asr-conformersmall-transformerlm-librispeech")
|
96 |
asr_model.transcribe_file("speechbrain/asr-conformersmall-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-conformersmall-transformerlm-librispeech", savedir="pretrained_models/asr-conformersmall-transformerlm-librispeech")
|
96 |
asr_model.transcribe_file("speechbrain/asr-conformersmall-transformerlm-librispeech/example.wav")
|