Spaces:
Runtime error
Runtime error
Update PCAgent/chat.py
Browse files- PCAgent/chat.py +1 -1
PCAgent/chat.py
CHANGED
|
@@ -79,7 +79,7 @@ def add_response(role, prompt, chat_history, image=[], use_qwen=False):
|
|
| 79 |
# base64_image = resize_encode_image(image[i])
|
| 80 |
content.append(
|
| 81 |
{
|
| 82 |
-
"type": "
|
| 83 |
"image": f"file://{image[i]}"
|
| 84 |
}
|
| 85 |
)
|
|
|
|
| 79 |
# base64_image = resize_encode_image(image[i])
|
| 80 |
content.append(
|
| 81 |
{
|
| 82 |
+
"type": "image",
|
| 83 |
"image": f"file://{image[i]}"
|
| 84 |
}
|
| 85 |
)
|