Spaces:
Runtime error
Runtime error
updated
Browse files
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 |
|