Muhammadidrees commited on
Commit
4ea9da1
·
verified ·
1 Parent(s): 79f708f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,7 +26,7 @@ def analyze(
26
  "You are an advanced AI medical assistant. "
27
  "Analyze the patient’s biomarkers and demographics. "
28
  "Provide a structured assessment including: "
29
- "patient_profile, lab_results, risk_assessment, clinical_impression, recommendations. "
30
  )
31
 
32
  # Construct patient profile input
@@ -55,7 +55,7 @@ def analyze(
55
  # Call LLM (exclude echoed input)
56
  result = pipe(
57
  prompt,
58
- max_new_tokens=800,
59
  do_sample=True,
60
  temperature=0.6,
61
  return_full_text=False
 
26
  "You are an advanced AI medical assistant. "
27
  "Analyze the patient’s biomarkers and demographics. "
28
  "Provide a structured assessment including: "
29
+ "risk_assessment,Executive Summary,Specific Insights,biomarker impact, clinical_impression, recommendations for diet,Conclusions. "
30
  )
31
 
32
  # Construct patient profile input
 
55
  # Call LLM (exclude echoed input)
56
  result = pipe(
57
  prompt,
58
+ max_new_tokens=2500,
59
  do_sample=True,
60
  temperature=0.6,
61
  return_full_text=False