alexnasa commited on
Commit
e4c28ee
·
verified ·
1 Parent(s): 2dfc048

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -446,7 +446,14 @@ def choose_caption(input_image):
446
  "role": "user",
447
  "content": [
448
  {"type": "image", "image": image},
449
- {"type": "text", "text": "Please describe this image in **very** **short** caption."},
 
 
 
 
 
 
 
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
  ]