Update README.md
Browse files
README.md
CHANGED
@@ -97,9 +97,9 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
97 |
### Transcribing your own audio files (in English)
|
98 |
|
99 |
```python
|
100 |
-
from speechbrain.inference.ASR import
|
101 |
from speechbrain.utils.dynamic_chunk_training import DynChunkTrainConfig
|
102 |
-
asr_model =
|
103 |
source="speechbrain/asr-streaming-conformer-librispeech",
|
104 |
savedir="pretrained_models/asr-streaming-conformer-librispeech"
|
105 |
)
|
|
|
97 |
### Transcribing your own audio files (in English)
|
98 |
|
99 |
```python
|
100 |
+
from speechbrain.inference.ASR import StreamingASR
|
101 |
from speechbrain.utils.dynamic_chunk_training import DynChunkTrainConfig
|
102 |
+
asr_model = StreamingASR.from_hparams(
|
103 |
source="speechbrain/asr-streaming-conformer-librispeech",
|
104 |
savedir="pretrained_models/asr-streaming-conformer-librispeech"
|
105 |
)
|