Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def caption(image):
|
|
24 |
"role": "user",
|
25 |
"content": [
|
26 |
{
|
27 |
-
"type": "
|
28 |
"image_url": {"url": f"data:image/jpeg;base64,{image}"}
|
29 |
},
|
30 |
{"type": "text", "text": PROMPT}
|
|
|
24 |
"role": "user",
|
25 |
"content": [
|
26 |
{
|
27 |
+
"type": "image_url",
|
28 |
"image_url": {"url": f"data:image/jpeg;base64,{image}"}
|
29 |
},
|
30 |
{"type": "text", "text": PROMPT}
|