Update app.py
Browse files
app.py
CHANGED
@@ -59,3 +59,14 @@ if st.button('Predict'):
|
|
59 |
# Display the result
|
60 |
st.write("Result:", predicted_label)
|
61 |
st.write("Confidence:", confidence)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
# Display the result
|
60 |
st.write("Result:", predicted_label)
|
61 |
st.write("Confidence:", confidence)
|
62 |
+
|
63 |
+
|
64 |
+
# Additional reminder after prediction
|
65 |
+
st.info("Remember: This prediction is not a diagnosis. Always consult with a healthcare professional for proper evaluation and advice.")
|
66 |
+
|
67 |
+
# Additional information
|
68 |
+
st.markdown("""
|
69 |
+
### About Our Method
|
70 |
+
|
71 |
+
Our method is designed to assist mental health professionals, such as psychologists and psychiatrists, rather than replace them. Using our model to directly calculate mental illness labels can introduce biases, potentially leading to inaccurate diagnoses. Therefore, the predictions made by our model should only be used as a reference, with the final diagnosis being carefully determined by qualified professionals.
|
72 |
+
""")
|