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