Update README.md
Browse files
README.md
CHANGED
@@ -53,8 +53,8 @@ pip install speechbrain
|
|
53 |
Please notice that we encourage you to read our tutorials and learn more about
|
54 |
[SpeechBrain](https://speechbrain.github.io).
|
55 |
### Transcribing your own audio files (in Korean)
|
56 |
-
```
|
57 |
-
from speechbrain.
|
58 |
asr_model = EncoderDecoderASR.from_hparams(source="ddwkim/asr-conformer-transformerlm-ksponspeech", savedir="pretrained_models/asr-conformer-transformerlm-ksponspeech", run_opts={"device":"cuda"})
|
59 |
asr_model.transcribe_file("ddwkim/asr-conformer-transformerlm-ksponspeech/record_0_16k.wav")
|
60 |
```
|
|
|
53 |
Please notice that we encourage you to read our tutorials and learn more about
|
54 |
[SpeechBrain](https://speechbrain.github.io).
|
55 |
### Transcribing your own audio files (in Korean)
|
56 |
+
```python
|
57 |
+
from speechbrain.inference.ASR import EncoderDecoderASR
|
58 |
asr_model = EncoderDecoderASR.from_hparams(source="ddwkim/asr-conformer-transformerlm-ksponspeech", savedir="pretrained_models/asr-conformer-transformerlm-ksponspeech", run_opts={"device":"cuda"})
|
59 |
asr_model.transcribe_file("ddwkim/asr-conformer-transformerlm-ksponspeech/record_0_16k.wav")
|
60 |
```
|