Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,8 @@ def api_calling(image, prompt, api_key):
|
|
| 34 |
{
|
| 35 |
"type": "image_url",
|
| 36 |
"image_url": {
|
| 37 |
-
"url": f"data:image/jpeg;base64,{base64_image}"
|
|
|
|
| 38 |
}
|
| 39 |
}
|
| 40 |
]
|
|
|
|
| 34 |
{
|
| 35 |
"type": "image_url",
|
| 36 |
"image_url": {
|
| 37 |
+
"url": f"data:image/jpeg;base64,{base64_image}",
|
| 38 |
+
"detail": "high"
|
| 39 |
}
|
| 40 |
}
|
| 41 |
]
|