Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -520,9 +520,9 @@ class IntelligentAgent:
|
|
520 |
code_files.append(file_path)
|
521 |
|
522 |
except Exception as e:
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
|
527 |
if self.debug:
|
528 |
print(f"...Found direct attachments: {len(image_files)} images, {len(audio_files)} audio, {len(code_files)} code files")
|
|
|
520 |
code_files.append(file_path)
|
521 |
|
522 |
except Exception as e:
|
523 |
+
if self.debug:
|
524 |
+
print(f"Error processing attachment {i}: {e}")
|
525 |
+
continue
|
526 |
|
527 |
if self.debug:
|
528 |
print(f"...Found direct attachments: {len(image_files)} images, {len(audio_files)} audio, {len(code_files)} code files")
|