tatianija commited on
Commit
724a157
·
verified ·
1 Parent(s): 0235d82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(file_path):
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