Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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/
|
487 |
# Construct the file path (assuming file is in the same directory)
|
488 |
-
file_path = os.path.join(files_url,
|
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):
|