Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,10 +21,10 @@ def process_video_and_questions(video, sitting, hands, location, screen):
|
|
21 |
if screen:
|
22 |
additional_info.append("Is the subject interacting with a screen in the background by facing the screen?")
|
23 |
end_query = """ Provide the results in <annotation> tags for example with 0 being False and 1 being True\n
|
24 |
-
<annotation>
|
25 |
<annotation>standing: 1</annotation>
|
26 |
-
<annotation>
|
27 |
-
<annotation>
|
28 |
final_query = query + " " + " ".join(additional_info)
|
29 |
final_prompt = final_query + " " + end_query
|
30 |
|
|
|
21 |
if screen:
|
22 |
additional_info.append("Is the subject interacting with a screen in the background by facing the screen?")
|
23 |
end_query = """ Provide the results in <annotation> tags for example with 0 being False and 1 being True\n
|
24 |
+
<annotation>indoors: 0</annotation>
|
25 |
<annotation>standing: 1</annotation>
|
26 |
+
<annotation>hands.free: 1</annotation>
|
27 |
+
<annotation>screen.interaction_yes: 0</annotation>"""
|
28 |
final_query = query + " " + " ".join(additional_info)
|
29 |
final_prompt = final_query + " " + end_query
|
30 |
|