Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def transcribe(audio, state="", uploaded_audio=None):
|
|
23 |
return state, state # Return a meaningful message
|
24 |
try:
|
25 |
time.sleep(3)
|
26 |
-
text = p(audio, chunk_length_s=
|
27 |
state += text + "\n"
|
28 |
return state, state
|
29 |
except Exception as e:
|
|
|
23 |
return state, state # Return a meaningful message
|
24 |
try:
|
25 |
time.sleep(3)
|
26 |
+
text = p(audio, chunk_length_s= 50)["text"]
|
27 |
state += text + "\n"
|
28 |
return state, state
|
29 |
except Exception as e:
|