ManishThota commited on
Commit
52aa47d
1 Parent(s): 9309155

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -172,23 +172,22 @@ provide me the answers as a dictionary with key as the string value of the varia
172
  # """
173
 
174
  promt_video = """
175
- Annotate this image by indicating the presence or absence of specific objects.
176
  {
177
- “description”: “Is the person standing?”,
178
  “value”: “standing”,
179
  },
180
  {
181
- “description”: “Is the person's hands free?”,
182
- “value”: “Hands-Free”,
183
  },
184
- Provide your answers as a dictionary with the object type as the key and a boolean value indicating its presence in the image, Use 'true' for objects present in the image and 'false' for objects not present.
185
-
186
  """
187
 
188
 
189
  test_examples = [[None, "Images/cat_dog.jpeg", promt_cat_dog],
190
  [None,"Images/bus_people.jpeg", promt_bus_people],
191
- ["videos/v2.mp4",None,promt_video],
192
  ["videos/v3.mp4",None,promt_video]]
193
 
194
 
 
172
  # """
173
 
174
  promt_video = """
175
+ Annotate this image with this schema:
176
  {
177
+ “description”: “Is there a person standing in the image?”,
178
  “value”: “standing”,
179
  },
180
  {
181
+ “description”: “Is the person's hands free in the image?”,
182
+ “value”: “hands-free”,
183
  },
184
+ provide me the answers as a dictionary with key as the string value of the variable value on top and its value should be boolean value.
 
185
  """
186
 
187
 
188
  test_examples = [[None, "Images/cat_dog.jpeg", promt_cat_dog],
189
  [None,"Images/bus_people.jpeg", promt_bus_people],
190
+ ["videos/v1.mp4",None,promt_video],
191
  ["videos/v3.mp4",None,promt_video]]
192
 
193