kresnik commited on
Commit
82782ac
1 Parent(s): 14855d6
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ LARGE_MODEL_BY_LANGUAGE = {
7
  "Korean": {"model_id": "kresnik/wav2vec2-large-xlsr-korean", "has_lm": True},
8
  }
9
 
10
- p=pipeline('kresnik/wav2vec2-large-xlsr-korean')
11
 
12
  def transcribe(audio, state=""):
13
  time.sleep(2)
 
7
  "Korean": {"model_id": "kresnik/wav2vec2-large-xlsr-korean", "has_lm": True},
8
  }
9
 
10
+ p=pipeline("automatic-speech-recognition", model="kresnik/wav2vec2-large-xlsr-korean")
11
 
12
  def transcribe(audio, state=""):
13
  time.sleep(2)