Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -723,10 +723,8 @@ with gr.Blocks(css=css) as demo:
|
|
723 |
with gr.Row():
|
724 |
#audio_input = gr.Audio(sources=["microphone"], show_label=False, container=False,
|
725 |
# waveform_options=gr.WaveformOptions(show_controls=False))
|
726 |
-
|
727 |
-
|
728 |
-
with gr.Column(scale=1):
|
729 |
-
gr.ClearButton(message, elem_classes="gr-button")
|
730 |
|
731 |
#button.click(answer_question, [message, chatbot, audio_input], [chatbot])
|
732 |
button.click(answer_question, [message, chatbot], [chatbot])
|
|
|
723 |
with gr.Row():
|
724 |
#audio_input = gr.Audio(sources=["microphone"], show_label=False, container=False,
|
725 |
# waveform_options=gr.WaveformOptions(show_controls=False))
|
726 |
+
button = gr.Button("Submit", elem_classes="gr-button")
|
727 |
+
gr.ClearButton(message, elem_classes="gr-button")
|
|
|
|
|
728 |
|
729 |
#button.click(answer_question, [message, chatbot, audio_input], [chatbot])
|
730 |
button.click(answer_question, [message, chatbot], [chatbot])
|