yonghan93 commited on
Commit
d5ccaaa
·
verified ·
1 Parent(s): 13c64be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ if selected == MENU[lang][0]:
138
  st.markdown(f"<div style='text-align:center; font-size:26px'>{result}</div>", unsafe_allow_html=True)
139
  # st.write(f"(Probability: {proba:.2%}, Threshold: {threshold:.2f})")
140
 
141
- if user_type == "Patient":
142
  prompt = (
143
  f"As a healthcare professional, explain to the patient what this result '{result}' means "
144
  f"Then, give five actionable lifestyle suggestions "
 
138
  st.markdown(f"<div style='text-align:center; font-size:26px'>{result}</div>", unsafe_allow_html=True)
139
  # st.write(f"(Probability: {proba:.2%}, Threshold: {threshold:.2f})")
140
 
141
+ is_patient = user_type in ["Patient", "病患", "Pesakit"]
142
  prompt = (
143
  f"As a healthcare professional, explain to the patient what this result '{result}' means "
144
  f"Then, give five actionable lifestyle suggestions "