Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -820,7 +820,7 @@ Answer:"""
|
|
| 820 |
try:
|
| 821 |
# Detect and download attachments
|
| 822 |
print(f"3. Searching for images, audio or code attachments...")
|
| 823 |
-
image_files, audio_files, code_files = self.
|
| 824 |
|
| 825 |
# Process attachments to get context
|
| 826 |
attachment_context = self._process_attachments(image_files, audio_files, code_files)
|
|
|
|
| 820 |
try:
|
| 821 |
# Detect and download attachments
|
| 822 |
print(f"3. Searching for images, audio or code attachments...")
|
| 823 |
+
image_files, audio_files, code_files = self._detect_and_process_direct_attachments(question_data)
|
| 824 |
|
| 825 |
# Process attachments to get context
|
| 826 |
attachment_context = self._process_attachments(image_files, audio_files, code_files)
|