Adel-Moumen
commited on
Commit
•
8dbfc21
1
Parent(s):
929f8fe
Update README.md
Browse files
README.md
CHANGED
@@ -59,7 +59,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
59 |
## Transcribing Your Own Audio Files
|
60 |
|
61 |
```python
|
62 |
-
from speechbrain.
|
63 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-transformer-switchboard", savedir="pretrained_models/asr-transformer-switchboard")
|
64 |
asr_model.transcribe_file("speechbrain/asr-transformer-switchboard/example.wav")
|
65 |
```
|
|
|
59 |
## Transcribing Your Own Audio Files
|
60 |
|
61 |
```python
|
62 |
+
from speechbrain.inference.ASR import EncoderDecoderASR
|
63 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-transformer-switchboard", savedir="pretrained_models/asr-transformer-switchboard")
|
64 |
asr_model.transcribe_file("speechbrain/asr-transformer-switchboard/example.wav")
|
65 |
```
|