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