Titouan Parcollet
commited on
Commit
·
a0ef6a7
1
Parent(s):
ee4851f
quick fix
Browse files
README.md
CHANGED
|
@@ -93,7 +93,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
| 93 |
```python
|
| 94 |
from speechbrain.pretrained import EncoderDecoderASR
|
| 95 |
|
| 96 |
-
asr_model =
|
| 97 |
asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-en/example.wav")
|
| 98 |
|
| 99 |
```
|
|
|
|
| 93 |
```python
|
| 94 |
from speechbrain.pretrained import EncoderDecoderASR
|
| 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")
|
| 98 |
|
| 99 |
```
|