yonghan93 commited on
Commit
fdd99f9
·
verified ·
1 Parent(s): 7791d01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -108,9 +108,10 @@ if selected == "Prediction Tool":
108
  if user_type == "Patient":
109
  prompt = (
110
  f"As a healthcare professional, explain to the patient what this result '{result}' means "
111
- f"in simple terms (Probability: {proba:.2%}). Then, give three actionable lifestyle suggestions "
112
  f"based on this result. Lastly, remind them clearly that this prediction is just a reference and "
113
  f"they should consult a certified medical professional for an official diagnosis."
 
114
  f"Add interesting emoji."
115
  f"Please keep the entire response within 150 words."
116
  )
 
108
  if user_type == "Patient":
109
  prompt = (
110
  f"As a healthcare professional, explain to the patient what this result '{result}' means "
111
+ f"in simple terms (Probability: {proba:.2%}). Then, give five actionable lifestyle suggestions "
112
  f"based on this result. Lastly, remind them clearly that this prediction is just a reference and "
113
  f"they should consult a certified medical professional for an official diagnosis."
114
+ f"Always care about the patient and be empathetic."
115
  f"Add interesting emoji."
116
  f"Please keep the entire response within 150 words."
117
  )