Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ class AttachmentDownloadTool(Tool):
|
|
21 |
output_type = "bytes"
|
22 |
|
23 |
def forward(self, task_id):
|
24 |
-
download_url = f"{
|
25 |
|
26 |
try:
|
27 |
response = requests.get(download_url + task_id, stream=True, timeout=15)
|
|
|
21 |
output_type = "bytes"
|
22 |
|
23 |
def forward(self, task_id):
|
24 |
+
download_url = f"{DEFAULT_API_URL}/files/"
|
25 |
|
26 |
try:
|
27 |
response = requests.get(download_url + task_id, stream=True, timeout=15)
|