Spaces:
Running
on
Zero
Running
on
Zero
Update app_dialogue.py
Browse files- app_dialogue.py +2 -1
app_dialogue.py
CHANGED
@@ -251,7 +251,8 @@ def format_user_prompt_with_im_history_and_system_conditioning(
|
|
251 |
+ [{"type": "text", "text": user_prompt["text"]}],
|
252 |
}
|
253 |
)
|
254 |
-
|
|
|
255 |
|
256 |
return resulting_messages, resulting_images
|
257 |
|
|
|
251 |
+ [{"type": "text", "text": user_prompt["text"]}],
|
252 |
}
|
253 |
)
|
254 |
+
|
255 |
+
resulting_images.extend([load_image_from_url(path) for path in user_prompt["files"]])
|
256 |
|
257 |
return resulting_messages, resulting_images
|
258 |
|