Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -711,7 +711,7 @@ Answer with just "YES" if web search would be helpful, or "NO" if the available
|
|
711 |
print(f"Downloading attachment")
|
712 |
|
713 |
if attachment_name:
|
714 |
-
download_url = f"{
|
715 |
response = requests.get(download_url, timeout=30)
|
716 |
response.raise_for_status()
|
717 |
temp_dir = tempfile.mkdtemp()
|
|
|
711 |
print(f"Downloading attachment")
|
712 |
|
713 |
if attachment_name:
|
714 |
+
download_url = f"{DEFAULT_API_URL}/files/{task_id}"
|
715 |
response = requests.get(download_url, timeout=30)
|
716 |
response.raise_for_status()
|
717 |
temp_dir = tempfile.mkdtemp()
|