Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 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 "
|