Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -752,10 +752,11 @@ Answer:"""
|
|
| 752 |
question_text = question_data.get('question', '')
|
| 753 |
|
| 754 |
if self.debug:
|
| 755 |
-
print(f"Processing question with potential attachments and URLs: {question_text[:100]}...")
|
| 756 |
|
| 757 |
try:
|
| 758 |
# Detect and download attachments
|
|
|
|
| 759 |
image_files, audio_files, code_files = self._detect_and_download_attachments(question_data)
|
| 760 |
|
| 761 |
# Process attachments to get context
|
|
|
|
| 752 |
question_text = question_data.get('question', '')
|
| 753 |
|
| 754 |
if self.debug:
|
| 755 |
+
print(f"1. Processing question with potential attachments and URLs: {question_text[:100]}...")
|
| 756 |
|
| 757 |
try:
|
| 758 |
# Detect and download attachments
|
| 759 |
+
print(f"2. Searching for images, audio or code attachments...")
|
| 760 |
image_files, audio_files, code_files = self._detect_and_download_attachments(question_data)
|
| 761 |
|
| 762 |
# Process attachments to get context
|