Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,8 @@ def handle_vision_call(msg, image_history):
|
|
| 49 |
{
|
| 50 |
"type": "image_url",
|
| 51 |
"image_url": {
|
| 52 |
-
"url": f"data:image/jpeg;base64,{image_base64}"
|
|
|
|
| 53 |
}
|
| 54 |
},
|
| 55 |
],
|
|
|
|
| 49 |
{
|
| 50 |
"type": "image_url",
|
| 51 |
"image_url": {
|
| 52 |
+
"url": f"data:image/jpeg;base64,{image_base64}",
|
| 53 |
+
"detail": "low"
|
| 54 |
}
|
| 55 |
},
|
| 56 |
],
|