ManishThota commited on
Commit
3035f99
·
verified ·
1 Parent(s): 951fcb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -22,13 +22,15 @@ def process_video_and_questions(video, sitting, hands, location, screen):
22
  additional_info.append("Is the subject present indoors or outdoors?")
23
  if screen:
24
  additional_info.append("Is the subject interacting with a screen in the background by facing the screen?")
25
- end_query = """Provide the results in <annotation> tags, where 0 indicates False, 1 indicates True, and None indicates that no information is present. Below is an example:
 
26
  <instructions>
27
  <annotation>indoors: 0</annotation>
28
  <annotation>standing: 1</annotation>
29
  <annotation>hands.free: None</annotation>
30
  <annotation>screen.interaction_yes: None</annotation>
31
  </instructions>
 
32
  """
33
 
34
  final_query = query + " " + " ".join(additional_info)
 
22
  additional_info.append("Is the subject present indoors or outdoors?")
23
  if screen:
24
  additional_info.append("Is the subject interacting with a screen in the background by facing the screen?")
25
+
26
+ end_query = """Provide the results in <annotation> tags, where 0 indicates False, 1 indicates True, and None indicates that no information is present. Below is an example:
27
  <instructions>
28
  <annotation>indoors: 0</annotation>
29
  <annotation>standing: 1</annotation>
30
  <annotation>hands.free: None</annotation>
31
  <annotation>screen.interaction_yes: None</annotation>
32
  </instructions>
33
+
34
  """
35
 
36
  final_query = query + " " + " ".join(additional_info)