Commit
•
a9b8c01
1
Parent(s):
edfb497
Update README.md
Browse files
README.md
CHANGED
@@ -58,8 +58,9 @@ 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 |
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(
|
63 |
```
|
64 |
|
65 |
### Inference on GPU
|
|
|
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(audio_file)
|
64 |
```
|
65 |
|
66 |
### Inference on GPU
|