Adel-Moumen
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -86,7 +86,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
86 |
### Transcribing and semantically annotating your own audio files (in French)
|
87 |
|
88 |
```python
|
89 |
-
from speechbrain.
|
90 |
|
91 |
asr_model = EncoderASR.from_hparams(source="speechbrain/slu-wav2vec2-ctc-MEDIA-full", savedir="pretrained_models/slu-wav2vec2-ctc-MEDIA-full")
|
92 |
asr_model.transcribe_file('speechbrain/slu-wav2vec2-ctc-MEDIA-full/example-fr.wav')
|
|
|
86 |
### Transcribing and semantically annotating your own audio files (in French)
|
87 |
|
88 |
```python
|
89 |
+
from speechbrain.inference.ASR import EncoderASR
|
90 |
|
91 |
asr_model = EncoderASR.from_hparams(source="speechbrain/slu-wav2vec2-ctc-MEDIA-full", savedir="pretrained_models/slu-wav2vec2-ctc-MEDIA-full")
|
92 |
asr_model.transcribe_file('speechbrain/slu-wav2vec2-ctc-MEDIA-full/example-fr.wav')
|