tatianija commited on
Commit
0235d82
·
verified ·
1 Parent(s): 305e048

Update app.py

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