iQuentin commited on
Commit
33fe410
·
verified ·
1 Parent(s): d57007a

print answer before submit

Browse files
Files changed (1) hide show
  1. simuGAIA.py +4 -0
simuGAIA.py CHANGED
@@ -288,6 +288,10 @@ def run_simuGAIA_all( profile: gr.OAuthProfile | None, submit: Optional[bool] =
288
  submission_data = {"username": username.strip(), "agent_code": agent_code, "answers": answers_payload}
289
  status_update = f"Agent finished. Submitting {len(answers_payload)} answers for user '{username}' with url being {agent_code}..."
290
  print(status_update)
 
 
 
 
291
 
292
 
293
  if not submit:
 
288
  submission_data = {"username": username.strip(), "agent_code": agent_code, "answers": answers_payload}
289
  status_update = f"Agent finished. Submitting {len(answers_payload)} answers for user '{username}' with url being {agent_code}..."
290
  print(status_update)
291
+ for answer in answers_payload:
292
+ print("task_id: " + answer["Task ID"])
293
+ print("answer: " + answer["Submitted Answer"])
294
+
295
 
296
 
297
  if not submit: