Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -139,6 +139,8 @@ if selected == MENU[lang][0]:
|
|
| 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 "
|
|
|
|
| 139 |
# st.write(f"(Probability: {proba:.2%}, Threshold: {threshold:.2f})")
|
| 140 |
|
| 141 |
is_patient = user_type in ["Patient", "病患", "Pesakit"]
|
| 142 |
+
|
| 143 |
+
if is_patient:
|
| 144 |
prompt = (
|
| 145 |
f"As a healthcare professional, explain to the patient what this result '{result}' means "
|
| 146 |
f"Then, give five actionable lifestyle suggestions "
|