Zemedkun commited on
Commit
ee19021
1 Parent(s): 07460ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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
- st.write('**Prediction:**')
100
- st.write(f"{prediction_text}")
101
- st.write(f"{probability_label}: {result}")
 
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()