Update app.py
Browse files
app.py
CHANGED
@@ -719,7 +719,7 @@ Answer with just "YES" if web search would be helpful, or "NO" if the available
|
|
719 |
with open(local_file_path, 'wb') as f:
|
720 |
f.write(response.content)
|
721 |
|
722 |
-
|
723 |
|
724 |
# Process attachments to get context
|
725 |
attachment_context = self._process_attachments(image_files, audio_files, code_files)
|
|
|
719 |
with open(local_file_path, 'wb') as f:
|
720 |
f.write(response.content)
|
721 |
|
722 |
+
image_files, audio_files, code_files = self._detect_and_process_direct_attachments(attachment_name, local_file_path)
|
723 |
|
724 |
# Process attachments to get context
|
725 |
attachment_context = self._process_attachments(image_files, audio_files, code_files)
|