FD900 commited on
Commit
924b7fa
·
verified ·
1 Parent(s): 1f9850a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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()