tatianija commited on
Commit
9ee8cb0
·
verified ·
1 Parent(s): c62c327

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -483,9 +483,9 @@ class IntelligentAgent:
483
 
484
  try:
485
  api_url = DEFAULT_API_URL
486
- files_url = f"{DEFAULT_API_URL}/files/{task_id}/"
487
  # Construct the file path (assuming file is in the same directory)
488
- file_path = os.path.join(files_url, file_name)
489
 
490
  # Check if file exists
491
  if not os.path.exists(file_path):
 
483
 
484
  try:
485
  api_url = DEFAULT_API_URL
486
+ files_url = f"{DEFAULT_API_URL}/files/"
487
  # Construct the file path (assuming file is in the same directory)
488
+ file_path = os.path.join(files_url, task_id)
489
 
490
  # Check if file exists
491
  if not os.path.exists(file_path):