Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -424,7 +424,7 @@ class GaiaRunner:
|
|
| 424 |
return local_path
|
| 425 |
|
| 426 |
try:
|
| 427 |
-
r =
|
| 428 |
if r.status_code == 404:
|
| 429 |
print(f"[GAIA] No attachment found on server for task {task_id} (404).")
|
| 430 |
return None
|
|
|
|
| 424 |
return local_path
|
| 425 |
|
| 426 |
try:
|
| 427 |
+
r = requests.get(url, timeout=30)
|
| 428 |
if r.status_code == 404:
|
| 429 |
print(f"[GAIA] No attachment found on server for task {task_id} (404).")
|
| 430 |
return None
|