Spaces:
Sleeping
Sleeping
Update cancer.py
Browse files
cancer.py
CHANGED
|
@@ -57,7 +57,6 @@ def train_model(x_train, y_train, preprocess, model_name):
|
|
| 57 |
st.set_page_config(page_title='Cancer Prediction App', layout='wide')
|
| 58 |
|
| 59 |
with st.sidebar:
|
| 60 |
-
st.image('https://via.placeholder.com/300x150.png?text=Cancer+Prediction')
|
| 61 |
st.markdown("### Select Machine Learning Model")
|
| 62 |
model_name = st.radio("Choose a Model", ['Decision Tree', 'Logistic Regression', 'KNN', 'Random Forest', 'XGBoost'])
|
| 63 |
if st.button("Train Model"):
|
|
|
|
| 57 |
st.set_page_config(page_title='Cancer Prediction App', layout='wide')
|
| 58 |
|
| 59 |
with st.sidebar:
|
|
|
|
| 60 |
st.markdown("### Select Machine Learning Model")
|
| 61 |
model_name = st.radio("Choose a Model", ['Decision Tree', 'Logistic Regression', 'KNN', 'Random Forest', 'XGBoost'])
|
| 62 |
if st.button("Train Model"):
|