Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def ask_openai_with_image(instruction, image):
|
|
| 37 |
"content": start,
|
| 38 |
},
|
| 39 |
{
|
| 40 |
-
"type": "
|
| 41 |
"role": "user",
|
| 42 |
"content": f"data:image/jpeg;base64,{base64_image}"
|
| 43 |
},
|
|
|
|
| 37 |
"content": start,
|
| 38 |
},
|
| 39 |
{
|
| 40 |
+
"type": "image_url",
|
| 41 |
"role": "user",
|
| 42 |
"content": f"data:image/jpeg;base64,{base64_image}"
|
| 43 |
},
|