Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -446,7 +446,14 @@ def choose_caption(input_image):
|
|
446 |
"role": "user",
|
447 |
"content": [
|
448 |
{"type": "image", "image": image},
|
449 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
],
|
451 |
}
|
452 |
]
|
|
|
446 |
"role": "user",
|
447 |
"content": [
|
448 |
{"type": "image", "image": image},
|
449 |
+
{
|
450 |
+
"type": "text",
|
451 |
+
"text": (
|
452 |
+
"Describe this image in one sentence, starting with the main object, "
|
453 |
+
"then its key features, followed by the background elements. "
|
454 |
+
"Use a clear, concise style, e.g., 'a photo of a plastic bottle on some sand, beach background, sky background'."
|
455 |
+
),
|
456 |
+
},
|
457 |
],
|
458 |
}
|
459 |
]
|