Adel-Moumen
commited on
Commit
•
2b9efdf
1
Parent(s):
9a4d2d9
Update README.md
Browse files
README.md
CHANGED
@@ -74,7 +74,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
74 |
### Transcribing your own audio files (in German)
|
75 |
|
76 |
```python
|
77 |
-
from speechbrain.
|
78 |
|
79 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-14-de", savedir="pretrained_models/asr-wav2vec2-commonvoice-14-de")
|
80 |
asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-14-de/example-de.wav")
|
|
|
74 |
### Transcribing your own audio files (in German)
|
75 |
|
76 |
```python
|
77 |
+
from speechbrain.inference.ASR import EncoderASR
|
78 |
|
79 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-14-de", savedir="pretrained_models/asr-wav2vec2-commonvoice-14-de")
|
80 |
asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-14-de/example-de.wav")
|