Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
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__":
|