Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -719,10 +719,13 @@ with gr.Blocks(css=css) as demo:
|
|
719 |
feedback_textbox = gr.Textbox(visible=False, show_label=False,container=False, placeholder = "Please enter your feedback.")
|
720 |
submit_feedback_button = gr.Button("Submit Feedback", visible=False, elem_classes="gr-button")
|
721 |
with gr.Column(scale=1):
|
722 |
-
|
|
|
723 |
# waveform_options=gr.WaveformOptions(show_controls=False))
|
724 |
-
|
725 |
-
|
|
|
|
|
726 |
|
727 |
#button.click(answer_question, [message, chatbot, audio_input], [chatbot])
|
728 |
button.click(answer_question, [message, chatbot], [chatbot])
|
|
|
719 |
feedback_textbox = gr.Textbox(visible=False, show_label=False,container=False, placeholder = "Please enter your feedback.")
|
720 |
submit_feedback_button = gr.Button("Submit Feedback", visible=False, elem_classes="gr-button")
|
721 |
with gr.Column(scale=1):
|
722 |
+
with gr.Row():
|
723 |
+
#audio_input = gr.Audio(sources=["microphone"], show_label=False, container=False,
|
724 |
# waveform_options=gr.WaveformOptions(show_controls=False))
|
725 |
+
with gr.Column(scale=1):
|
726 |
+
button = gr.Button("Submit", elem_classes="gr-button")
|
727 |
+
with gr.Column(scale=1):
|
728 |
+
gr.ClearButton(message, elem_classes="gr-button")
|
729 |
|
730 |
#button.click(answer_question, [message, chatbot, audio_input], [chatbot])
|
731 |
button.click(answer_question, [message, chatbot], [chatbot])
|