Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -172,7 +172,7 @@ class XylariaChat:
|
|
| 172 |
# Process image if uploaded
|
| 173 |
if image:
|
| 174 |
image_caption = self.caption_image(image)
|
| 175 |
-
user_input = f"
|
| 176 |
|
| 177 |
# Add user input
|
| 178 |
messages.append(ChatMessage(
|
|
|
|
| 172 |
# Process image if uploaded
|
| 173 |
if image:
|
| 174 |
image_caption = self.caption_image(image)
|
| 175 |
+
user_input = f"Uploaded image : {image_caption}\n\nUser's message: {user_input}"
|
| 176 |
|
| 177 |
# Add user input
|
| 178 |
messages.append(ChatMessage(
|