Spaces:
Sleeping
Sleeping
Update cancer.py
Browse files
cancer.py
CHANGED
|
@@ -96,7 +96,7 @@ with col2:
|
|
| 96 |
smoking_history = st.selectbox("Smoking History", ['Never Smoker', 'Former Smoker', 'Current Smoker'])
|
| 97 |
alcohol_consumption = st.selectbox("Alcohol Consumption", ['Low', 'Moderate', 'High'])
|
| 98 |
exercise_frequency = st.selectbox("Exercise Frequency", ['Rarely', 'Occasionally', 'Regularly', 'Never'])
|
| 99 |
-
gender = st.selectbox("Gender", [
|
| 100 |
family_history = st.selectbox("Family History", ["No", "Yes"])
|
| 101 |
|
| 102 |
input_data = [[age, tumor_size, tumor_grade, symptoms_severity, smoking_history,
|
|
|
|
| 96 |
smoking_history = st.selectbox("Smoking History", ['Never Smoker', 'Former Smoker', 'Current Smoker'])
|
| 97 |
alcohol_consumption = st.selectbox("Alcohol Consumption", ['Low', 'Moderate', 'High'])
|
| 98 |
exercise_frequency = st.selectbox("Exercise Frequency", ['Rarely', 'Occasionally', 'Regularly', 'Never'])
|
| 99 |
+
gender = st.selectbox("Gender", [0, 1])
|
| 100 |
family_history = st.selectbox("Family History", ["No", "Yes"])
|
| 101 |
|
| 102 |
input_data = [[age, tumor_size, tumor_grade, symptoms_severity, smoking_history,
|