kuzumab commited on
Commit
e0e4fce
·
verified ·
1 Parent(s): 57a97f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"{api_url}/files/"
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)