Spaces:
Runtime error
Runtime error
EC2 Default User
commited on
Commit
•
45301ee
1
Parent(s):
9b3b4ad
xxx
Browse files
app.py
CHANGED
@@ -279,7 +279,7 @@ def transcribe_func_old(audio):
|
|
279 |
return transcript_text
|
280 |
|
281 |
def process_audio(audio, history=[]):
|
282 |
-
text =
|
283 |
return predict(text, history)
|
284 |
|
285 |
with gr.Blocks(css="#chatbot{height:350px} .overflow-y-auto{height:500px}") as demo:
|
|
|
279 |
return transcript_text
|
280 |
|
281 |
def process_audio(audio, history=[]):
|
282 |
+
text = transcribe_func_old(audio)
|
283 |
return predict(text, history)
|
284 |
|
285 |
with gr.Blocks(css="#chatbot{height:350px} .overflow-y-auto{height:500px}") as demo:
|