Update README.md
Browse files
README.md
CHANGED
|
@@ -56,7 +56,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
| 56 |
### Transcribing your own audio files (in English)
|
| 57 |
|
| 58 |
```python
|
| 59 |
-
from speechbrain.
|
| 60 |
asr_model = foreign_class(source="speechbrain/asr-wav2vec2-ctc-aishell", pymodule_file="custom_interface.py", classname="CustomEncoderDecoderASR")
|
| 61 |
asr_model.transcribe_file("speechbrain/asr-wav2vec2-ctc-aishell/example.wav")
|
| 62 |
```
|
|
|
|
| 56 |
### Transcribing your own audio files (in English)
|
| 57 |
|
| 58 |
```python
|
| 59 |
+
from speechbrain.inference.interfaces import foreign_class
|
| 60 |
asr_model = foreign_class(source="speechbrain/asr-wav2vec2-ctc-aishell", pymodule_file="custom_interface.py", classname="CustomEncoderDecoderASR")
|
| 61 |
asr_model.transcribe_file("speechbrain/asr-wav2vec2-ctc-aishell/example.wav")
|
| 62 |
```
|