Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -484,10 +484,10 @@ class IntelligentAgent:
|
|
| 484 |
|
| 485 |
try:
|
| 486 |
# Construct the file path (assuming file is in the same directory)
|
| 487 |
-
file_path = os.path.join(local_path, file_name)
|
| 488 |
|
| 489 |
# Check if file exists
|
| 490 |
-
if not os.path.exists(
|
| 491 |
if self.debug:
|
| 492 |
print(f"File not found: {file_path}")
|
| 493 |
return image_files, audio_files, code_files
|
|
|
|
| 484 |
|
| 485 |
try:
|
| 486 |
# Construct the file path (assuming file is in the same directory)
|
| 487 |
+
#file_path = os.path.join(local_path, file_name)
|
| 488 |
|
| 489 |
# Check if file exists
|
| 490 |
+
if not os.path.exists(local_path):
|
| 491 |
if self.debug:
|
| 492 |
print(f"File not found: {file_path}")
|
| 493 |
return image_files, audio_files, code_files
|