Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -167,7 +167,7 @@ class XylariaChat:
|
|
167 |
# Process image if uploaded
|
168 |
if image:
|
169 |
image_caption = self.caption_image(image)
|
170 |
-
user_input = f"
|
171 |
|
172 |
# Add user input
|
173 |
messages.append(ChatMessage(
|
|
|
167 |
# Process image if uploaded
|
168 |
if image:
|
169 |
image_caption = self.caption_image(image)
|
170 |
+
user_input = f"description of an image: {image_caption}\n\nUser's message about it: {user_input}"
|
171 |
|
172 |
# Add user input
|
173 |
messages.append(ChatMessage(
|