Update app.py
Browse filesrestored submitted_answer = agent(question_text)
app.py
CHANGED
@@ -310,6 +310,9 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
310 |
# submitted_answer = agent(question_text)
|
311 |
# else:
|
312 |
# continue
|
|
|
|
|
|
|
313 |
answers_payload.append({"task_id": task_id, "submitted_answer": submitted_answer})
|
314 |
results_log.append({"Task ID": task_id, "Question": question_text, "Submitted Answer": submitted_answer})
|
315 |
# Sleep to avoid the Gemini throttling at 15 RPM
|
|
|
310 |
# submitted_answer = agent(question_text)
|
311 |
# else:
|
312 |
# continue
|
313 |
+
|
314 |
+
submitted_answer = agent(question_text)
|
315 |
+
|
316 |
answers_payload.append({"task_id": task_id, "submitted_answer": submitted_answer})
|
317 |
results_log.append({"Task ID": task_id, "Question": question_text, "Submitted Answer": submitted_answer})
|
318 |
# Sleep to avoid the Gemini throttling at 15 RPM
|