Adel-Moumen commited on
Commit
ee66d28
1 Parent(s): 218ee9e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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.pretrained 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
  ```
 
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
  ```