Spaces:
Sleeping
Sleeping
Update cancer.py
Browse files
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
|
| 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 |
+
|