Update README.md
Browse files
README.md
CHANGED
@@ -47,7 +47,7 @@ Please notice that we encourage you to read the SpeechBrain tutorials and learn
|
|
47 |
|
48 |
# Transcribing your own audio files (in Darija)
|
49 |
```python
|
50 |
-
from speechbrain.pretrained import
|
51 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-dvoice-darija", savedir="pretrained_models/asr-wav2vec2-dvoice-darija")
|
52 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-dvoice-darija/example_darija.wav')
|
53 |
```
|
|
|
47 |
|
48 |
# Transcribing your own audio files (in Darija)
|
49 |
```python
|
50 |
+
from speechbrain.pretrained import EncoderDecoderASR
|
51 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-dvoice-darija", savedir="pretrained_models/asr-wav2vec2-dvoice-darija")
|
52 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-dvoice-darija/example_darija.wav')
|
53 |
```
|