Muhammadidrees commited on
Commit
1fd97c3
·
verified ·
1 Parent(s): 6506887

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -135,7 +135,8 @@ def analyze(
135
  " | Biomarker | Value | Status (Low/Normal/High) | AI-Inferred Insight |\n"
136
  " - Include ALL 9 Levine biomarkers (Albumin, Creatinine, Glucose, CRP, MCV, RDW, ALP, WBC, Lymphocytes).\n"
137
  " - The first row after the header must begin directly with 'Albumin'.\n"
138
- " - Do not leave any blank or empty rows in the table.\n\n"
 
139
 
140
  "6. Enhanced AI Insights & Longitudinal Risk\n"
141
  " - Subclinical nutrient predictions ONLY if patterns (MCV + RDW) suggest it — state as possible, not confirmed.\n"
@@ -149,6 +150,7 @@ def analyze(
149
  "- Format tables cleanly in Markdown.\n"
150
  "- Present output beautifully, like a polished medical summary.\n"
151
  )
 
152
  patient_input = (
153
  f"Patient Profile:\n"
154
  f"- Age: {age}\n"
 
135
  " | Biomarker | Value | Status (Low/Normal/High) | AI-Inferred Insight |\n"
136
  " - Include ALL 9 Levine biomarkers (Albumin, Creatinine, Glucose, CRP, MCV, RDW, ALP, WBC, Lymphocytes).\n"
137
  " - The first row after the header must begin directly with 'Albumin'.\n"
138
+ " - Do NOT add any index numbers (0,1,2...) or empty rows.\n"
139
+ " - Each biomarker must appear exactly once as a separate row.\n\n"
140
 
141
  "6. Enhanced AI Insights & Longitudinal Risk\n"
142
  " - Subclinical nutrient predictions ONLY if patterns (MCV + RDW) suggest it — state as possible, not confirmed.\n"
 
150
  "- Format tables cleanly in Markdown.\n"
151
  "- Present output beautifully, like a polished medical summary.\n"
152
  )
153
+
154
  patient_input = (
155
  f"Patient Profile:\n"
156
  f"- Age: {age}\n"