kresnik commited on
Commit
8ca1fee
1 Parent(s): cc28349
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ p=pipeline("automatic-speech-recognition", model="kresnik/wav2vec2-large-xlsr-ko
13
  def transcribe(audio, state=""):
14
  time.sleep(2)
15
  text = p(audio)["text"]
16
- state+= text+ " "
17
  return state, state
18
  #return text
19
 
13
  def transcribe(audio, state=""):
14
  time.sleep(2)
15
  text = p(audio)["text"]
16
+ state+= str(text)+ " "
17
  return state, state
18
  #return text
19