varshitha22 commited on
Commit
9b19d47
·
verified ·
1 Parent(s): 437a8bc

Update cancer.py

Browse files
Files changed (1) hide show
  1. cancer.py +2 -1
cancer.py CHANGED
@@ -74,7 +74,7 @@ with st.sidebar:
74
  st.session_state['X_train'] = X_train
75
  st.success(f"Model Trained Successfully! Accuracy: {accuracy:.2f}")
76
 
77
- st.title("🎗️ Cancer Prediction Using Machine Learning 🎗️")
78
 
79
  st.markdown("""<style>.big-font {font-size:20px !important;}</style>
80
  <p class="big-font">Provide patient details below to predict cancer presence:</p>""", unsafe_allow_html=True)
@@ -112,3 +112,4 @@ if st.button("Predict Cancer Presence"):
112
  st.write("Good news! The model predicts that there is no cancer detected. Stay healthy!")
113
  else:
114
  st.error("Please train a model first!")
 
 
74
  st.session_state['X_train'] = X_train
75
  st.success(f"Model Trained Successfully! Accuracy: {accuracy:.2f}")
76
 
77
+ st.title(" 🎗️ Cancer Prediction")
78
 
79
  st.markdown("""<style>.big-font {font-size:20px !important;}</style>
80
  <p class="big-font">Provide patient details below to predict cancer presence:</p>""", unsafe_allow_html=True)
 
112
  st.write("Good news! The model predicts that there is no cancer detected. Stay healthy!")
113
  else:
114
  st.error("Please train a model first!")
115
+