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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -719,11 +719,10 @@ 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
- with gr.Row():
723
- #audio_input = gr.Audio(sources=["microphone"], show_label=False, container=False,
724
  # waveform_options=gr.WaveformOptions(show_controls=False))
725
- button = gr.Button("Submit", elem_classes="gr-button")
726
- gr.ClearButton(message, elem_classes="gr-button")
727
 
728
  #button.click(answer_question, [message, chatbot, audio_input], [chatbot])
729
  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
+ #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])