Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -484,7 +484,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 484 |
full_question_for_agent += f"\n\nAttachment '{file_name}' available at EXACT URL: {attachment_url}"
|
| 485 |
print(f"Running agent on task {task_id}: {full_question_for_agent}",flush=True)
|
| 486 |
|
| 487 |
-
|
| 488 |
allowed_ids = {
|
| 489 |
#"cca530fc-4052-43b2-b130-b30968d8aa44",
|
| 490 |
#"a1e91b78-d3d8-4675-bb8d-62741b4b68a6",
|
|
@@ -500,7 +500,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 500 |
}
|
| 501 |
if task_id not in allowed_ids:
|
| 502 |
continue
|
| 503 |
-
|
| 504 |
try:
|
| 505 |
submitted_answer = agent(full_question_for_agent)
|
| 506 |
answers_payload.append({"task_id": task_id, "submitted_answer": submitted_answer})
|
|
|
|
| 484 |
full_question_for_agent += f"\n\nAttachment '{file_name}' available at EXACT URL: {attachment_url}"
|
| 485 |
print(f"Running agent on task {task_id}: {full_question_for_agent}",flush=True)
|
| 486 |
|
| 487 |
+
'''
|
| 488 |
allowed_ids = {
|
| 489 |
#"cca530fc-4052-43b2-b130-b30968d8aa44",
|
| 490 |
#"a1e91b78-d3d8-4675-bb8d-62741b4b68a6",
|
|
|
|
| 500 |
}
|
| 501 |
if task_id not in allowed_ids:
|
| 502 |
continue
|
| 503 |
+
'''
|
| 504 |
try:
|
| 505 |
submitted_answer = agent(full_question_for_agent)
|
| 506 |
answers_payload.append({"task_id": task_id, "submitted_answer": submitted_answer})
|