Adel-Moumen
commited on
Commit
•
135afb7
1
Parent(s):
a9b8c01
Update README.md
Browse files
README.md
CHANGED
@@ -58,9 +58,8 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
58 |
|
59 |
```python
|
60 |
from speechbrain.inference.ASR import EncoderDecoderASR
|
61 |
-
audio_file = "path/to/your/audio/file"
|
62 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-transducer-commonvoice-14-de", savedir="pretrained_models/asr-transducer-commonvoice-14-de")
|
63 |
-
asr_model.transcribe_file(
|
64 |
```
|
65 |
|
66 |
### Inference on GPU
|
|
|
58 |
|
59 |
```python
|
60 |
from speechbrain.inference.ASR import EncoderDecoderASR
|
|
|
61 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-transducer-commonvoice-14-de", savedir="pretrained_models/asr-transducer-commonvoice-14-de")
|
62 |
+
asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-14-de/example-de.wav")
|
63 |
```
|
64 |
|
65 |
### Inference on GPU
|