Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,6 @@ with gr.Blocks() as demo:
|
|
| 9 |
btn = gr.Button("Run Evaluation & Submit All Answers")
|
| 10 |
result = gr.Textbox(label="Submission Result")
|
| 11 |
|
| 12 |
-
btn.click(fn=lambda: run_and_submit_all(agent), outputs=result)
|
| 13 |
|
| 14 |
-
demo.launch()
|
|
|
|
| 9 |
btn = gr.Button("Run Evaluation & Submit All Answers")
|
| 10 |
result = gr.Textbox(label="Submission Result")
|
| 11 |
|
| 12 |
+
btn.click(fn=lambda: run_and_submit_all(agent.answer_question), outputs=result)
|
| 13 |
|
| 14 |
+
demo.launch()
|