speechbrainteam
commited on
Commit
•
d641506
1
Parent(s):
e135b77
Update README.md
Browse files
README.md
CHANGED
@@ -57,7 +57,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
57 |
from speechbrain.pretrained import EncoderASR
|
58 |
|
59 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-fr", savedir="pretrained_models/asr-wav2vec2-commonvoice-fr")
|
60 |
-
asr_model.transcribe_file(
|
61 |
|
62 |
```
|
63 |
### Inference on GPU
|
|
|
57 |
from speechbrain.pretrained import EncoderASR
|
58 |
|
59 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-fr", savedir="pretrained_models/asr-wav2vec2-commonvoice-fr")
|
60 |
+
asr_model.transcribe_file('speechbrain/asr-wav2vec2-commonvoice-fr/example-fr.wav')
|
61 |
|
62 |
```
|
63 |
### Inference on GPU
|