Update app.py
Browse files
app.py
CHANGED
@@ -96,9 +96,10 @@ def main():
|
|
96 |
prediction_text = "No Tuberculosis is found based on the audio data and clinical information."
|
97 |
probability_label = "Negative Probability"
|
98 |
|
99 |
-
|
100 |
-
st.
|
101 |
-
st.
|
|
|
102 |
|
103 |
if __name__ == '__main__':
|
104 |
main()
|
|
|
96 |
prediction_text = "No Tuberculosis is found based on the audio data and clinical information."
|
97 |
probability_label = "Negative Probability"
|
98 |
|
99 |
+
# Display prediction in a popup
|
100 |
+
st.markdown(f"<h2 style='text-align:center;'>Prediction:</h2>", unsafe_allow_html=True)
|
101 |
+
st.markdown(f"<h3 style='text-align:center; font-weight:bold;'>{prediction_text}</h3>", unsafe_allow_html=True)
|
102 |
+
st.markdown(f"<h4 style='text-align:center;'>{probability_label}: {result}</h4>", unsafe_allow_html=True)
|
103 |
|
104 |
if __name__ == '__main__':
|
105 |
main()
|