OppaAI commited on
Commit
7ef2fc9
·
verified ·
1 Parent(s): 3f25383

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -128,12 +128,16 @@ def run_vlm_analysis(payload: RobotWatchPayload):
128
 
129
  # System prompt instructs VLM to return strict JSON
130
  system_prompt = """
131
- Respond in STRICT JSON ONLY. Ensure the "objects" list is never empty; list general items if specific ones are not clear.
132
  {
133
  "description": "...",
134
- "human": "...",
135
  "environment": "...",
136
- "objects": []
 
 
 
 
 
137
  }
138
  """
139
 
 
128
 
129
  # System prompt instructs VLM to return strict JSON
130
  system_prompt = """
131
+ Respond in STRICT JSON ONLY. Put more details in Description. Ensure all the fields are never empty; list general items if specific ones are not clear.
132
  {
133
  "description": "...",
 
134
  "environment": "...",
135
+ "indoor_or_outdoor": "...",
136
+ "lighting_condition": "..."
137
+ "human": "...",
138
+ "animals": "...",
139
+ "objects": [],
140
+ "hazards": [],
141
  }
142
  """
143