varshitha22 commited on
Commit
5cde004
·
verified ·
1 Parent(s): 5314b20

Update cancer.py

Browse files
Files changed (1) hide show
  1. cancer.py +1 -1
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", ['Male', 'Female'])
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,