Adel-Moumen
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -77,7 +77,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
77 |
### Transcribing your own audio files (in French)
|
78 |
|
79 |
```python
|
80 |
-
from speechbrain.
|
81 |
|
82 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-ctc-MEDIA", savedir="pretrained_models/asr-wav2vec2-ctc-MEDIA")
|
83 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-ctc-MEDIA/example-fr.wav')
|
|
|
77 |
### Transcribing your own audio files (in French)
|
78 |
|
79 |
```python
|
80 |
+
from speechbrain.inference.ASR import EncoderASR
|
81 |
|
82 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-ctc-MEDIA", savedir="pretrained_models/asr-wav2vec2-ctc-MEDIA")
|
83 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-ctc-MEDIA/example-fr.wav')
|