Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -69,8 +69,7 @@ with gr.Blocks() as transcriberUI:
|
|
69 |
|
70 |
return response
|
71 |
|
72 |
-
|
73 |
-
submit_question.click(ask_question_callback, outputs=[response_output], inputs=[transcribe, ask_question])
|
74 |
clear_button.click(hidden_ask_question,outputs=[ask_question,response_output,submit_question])
|
75 |
|
76 |
|
|
|
69 |
|
70 |
return response
|
71 |
|
72 |
+
inp.upload(audio_transcribe, inputs=inp, outputs=[transcribe,ask_question,submit_question, response_output])
|
|
|
73 |
clear_button.click(hidden_ask_question,outputs=[ask_question,response_output,submit_question])
|
74 |
|
75 |
|