Spaces:
Paused
Paused
Update app.py
Browse files
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 |
-
|
| 176 |
{
|
| 177 |
-
“description”: “Is
|
| 178 |
“value”: “standing”,
|
| 179 |
},
|
| 180 |
{
|
| 181 |
-
“description”: “Is the person's hands free?”,
|
| 182 |
-
“value”: “
|
| 183 |
},
|
| 184 |
-
|
| 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/
|
| 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 |
|