Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 111 |
print(f"Skipping item with missing task_id or question: {item}")
|
| 112 |
continue
|
| 113 |
try:
|
| 114 |
-
submitted_answer = agent.run(question_text)
|
|
|
|
| 115 |
answers_payload.append({"task_id": task_id, "submitted_answer": submitted_answer})
|
| 116 |
results_log.append({"Task ID": task_id, "Question": question_text, "Submitted Answer": submitted_answer})
|
| 117 |
except Exception as e:
|
|
|
|
| 111 |
print(f"Skipping item with missing task_id or question: {item}")
|
| 112 |
continue
|
| 113 |
try:
|
| 114 |
+
#submitted_answer = agent.run(question_text)
|
| 115 |
+
submitted_answer = agent.run("Can you give me a nice one-day trip around Paris with a few locations and the times? Could be in the city or outside, but should fit in one day. I'm travelling only with a rented bicycle.")
|
| 116 |
answers_payload.append({"task_id": task_id, "submitted_answer": submitted_answer})
|
| 117 |
results_log.append({"Task ID": task_id, "Question": question_text, "Submitted Answer": submitted_answer})
|
| 118 |
except Exception as e:
|