Ubik80 commited on
Commit
a9ab002
·
verified ·
1 Parent(s): 03a058f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -109,7 +109,8 @@ with gr.Blocks() as demo:
109
  question_out = gr.Textbox(label="Random Question", lines=3, interactive=False)
110
  answer_out = gr.Textbox(label="Agent Answer", lines=3, interactive=False)
111
 
112
- run_btn.click(fn=run_and_submit_all, inputs=[username_input], outputs=[status_out, table_out])
 
113
  test_btn.click(fn=test_random_question, inputs=[], outputs=[question_out, answer_out])
114
 
115
  if __name__ == "__main__":
 
109
  question_out = gr.Textbox(label="Random Question", lines=3, interactive=False)
110
  answer_out = gr.Textbox(label="Agent Answer", lines=3, interactive=False)
111
 
112
+ run_btn.click(fn=run_and_submit_all, outputs=[status_out, table_out])
113
+ test_btn.click(fn=test_random_question, outputs=[question_out, answer_out])
114
  test_btn.click(fn=test_random_question, inputs=[], outputs=[question_out, answer_out])
115
 
116
  if __name__ == "__main__":