Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ p = pipeline('automatic-speech-recognition', model='rohitp1/kkkh_whisper_small_d
|
|
14 |
def transcribe(audio, state=""):
|
15 |
time.sleep(3)
|
16 |
text = p(audio)["text"]
|
17 |
-
state
|
18 |
return state, state
|
19 |
|
20 |
|
|
|
14 |
def transcribe(audio, state=""):
|
15 |
time.sleep(3)
|
16 |
text = p(audio)["text"]
|
17 |
+
state = text + " "
|
18 |
return state, state
|
19 |
|
20 |
|