dpv007 commited on
Commit
42128c0
·
verified ·
1 Parent(s): df032fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -50,11 +50,14 @@ GCS_BUCKET_NAME = "elderly-healthwatch-images"
50
  GCS_CREDENTIALS_FILE = "gcs-credentials.json"
51
 
52
  DEFAULT_VLM_PROMPT = (
53
- "From the provided face/eye images, compute the required screening features "
54
- "(pallor, sclera yellowness, redness, mobility metrics, quality checks) "
55
- "and output a clean JSON feature vector only and the values should be confidence scores."
 
 
56
  )
57
 
 
58
  LLM_SYSTEM_PROMPT = (
59
  "System: This assistant MUST ONLY OUTPUT a single valid JSON object as its response — "
60
  "no prose, no explanations, no code fences, no annotations."
 
50
  GCS_CREDENTIALS_FILE = "gcs-credentials.json"
51
 
52
  DEFAULT_VLM_PROMPT = (
53
+ "Analyze the provided face and eye images and extract only the following screening features: "
54
+ "pallor, sclera_yellowness, eye_redness, facial_mobility_metrics, and image_quality_checks. "
55
+ "Return a single valid JSON object only (no text, no markdown). "
56
+ "Each feature value must be a normalized confidence score between 0 and 1. "
57
+ "If a feature cannot be reliably determined, assign null."
58
  )
59
 
60
+
61
  LLM_SYSTEM_PROMPT = (
62
  "System: This assistant MUST ONLY OUTPUT a single valid JSON object as its response — "
63
  "no prose, no explanations, no code fences, no annotations."