Update README.md
Browse files
README.md
CHANGED
@@ -49,8 +49,8 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
49 |
### Transcribing your own audio files (in Korean)
|
50 |
```python
|
51 |
from speechbrain.pretrained import EncoderDecoderASR
|
52 |
-
asr_model = EncoderDecoderASR.from_hparams(source="
|
53 |
-
asr_model.transcribe_file("
|
54 |
```
|
55 |
|
56 |
### Inference on GPU
|
|
|
49 |
### Transcribing your own audio files (in Korean)
|
50 |
```python
|
51 |
from speechbrain.pretrained import EncoderDecoderASR
|
52 |
+
asr_model = EncoderDecoderASR.from_hparams(source="ddwkim/asr-conformer-transformerlm-ksponspeech", savedir="pretrained_models/asr-conformer-transformerlm-ksponspeech", run_opts={"device":"cuda"})
|
53 |
+
asr_model.transcribe_file("ddwkim/asr-conformer-transformerlm-ksponspeech/record_0_16k.wav")
|
54 |
```
|
55 |
|
56 |
### Inference on GPU
|