Redmind commited on
Commit
2a0111a
·
verified ·
1 Parent(s): 50fc6bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
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
- #audio_input = gr.Audio(sources=["microphone"], show_label=False, container=False,
 
723
  # waveform_options=gr.WaveformOptions(show_controls=False))
724
- button = gr.Button("Submit", elem_classes="gr-button")
725
- gr.ClearButton(message, elem_classes="gr-button")
 
 
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])