Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -526,8 +526,9 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 526 |
full_question_for_agent += f"\n\nAttachment '{file_name}' available at EXACT URL: {attachment_url}"
|
| 527 |
print(f"Running agent on task {task_id}: {full_question_for_agent}",flush=True)
|
| 528 |
|
|
|
|
| 529 |
allowed_ids = {
|
| 530 |
-
|
| 531 |
"cca530fc-4052-43b2-b130-b30968d8aa44",
|
| 532 |
#"1f975693-876d-457b-a649-393859e79bf3",
|
| 533 |
#"99c9cc74-fdc8-46c6-8f8d-3ce2d3bfeea3",
|
|
@@ -536,7 +537,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 536 |
}
|
| 537 |
if task_id not in allowed_ids:
|
| 538 |
continue
|
| 539 |
-
|
| 540 |
|
| 541 |
try:
|
| 542 |
submitted_answer = agent(full_question_for_agent)
|
|
|
|
| 526 |
full_question_for_agent += f"\n\nAttachment '{file_name}' available at EXACT URL: {attachment_url}"
|
| 527 |
print(f"Running agent on task {task_id}: {full_question_for_agent}",flush=True)
|
| 528 |
|
| 529 |
+
'''
|
| 530 |
allowed_ids = {
|
| 531 |
+
"7bd855d8-463d-4ed5-93ca-5fe35145f733",
|
| 532 |
"cca530fc-4052-43b2-b130-b30968d8aa44",
|
| 533 |
#"1f975693-876d-457b-a649-393859e79bf3",
|
| 534 |
#"99c9cc74-fdc8-46c6-8f8d-3ce2d3bfeea3",
|
|
|
|
| 537 |
}
|
| 538 |
if task_id not in allowed_ids:
|
| 539 |
continue
|
| 540 |
+
'''
|
| 541 |
|
| 542 |
try:
|
| 543 |
submitted_answer = agent(full_question_for_agent)
|