ManishThota commited on
Commit
b68921c
·
verified ·
1 Parent(s): 05789a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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>indoor: 0</annotation>
25
  <annotation>standing: 1</annotation>
26
- <annotation>hands_free: 1</annotation>
27
- <annotation>screen_interaction: 0</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