varshitha22 commited on
Commit
424eb46
·
verified ·
1 Parent(s): 5d8f360

Update cancer.py

Browse files
Files changed (1) hide show
  1. cancer.py +1 -1
cancer.py CHANGED
@@ -87,7 +87,7 @@ with col2:
87
  smoking_history = st.selectbox("Smoking History", ['Never Smoker', 'Former Smoker', 'Current Smoker'])
88
  alcohol_consumption = st.selectbox("Alcohol Consumption", ['Low','Moderate','High'])
89
  exercise_frequency = st.selectbox("Exercise Frequency", ['Rarely', 'Occasionally', 'Regularly','Never'])
90
- gender = st.selectbox("Gender", [0, 1])
91
  family_history = st.selectbox("Family History", ["No", "Yes"])
92
 
93
  input_data = [[age, tumor_size, tumor_grade, symptoms_severity, smoking_history,
 
87
  smoking_history = st.selectbox("Smoking History", ['Never Smoker', 'Former Smoker', 'Current Smoker'])
88
  alcohol_consumption = st.selectbox("Alcohol Consumption", ['Low','Moderate','High'])
89
  exercise_frequency = st.selectbox("Exercise Frequency", ['Rarely', 'Occasionally', 'Regularly','Never'])
90
+ gender = st.selectbox("Gender", ['Male', 'Female'])
91
  family_history = st.selectbox("Family History", ["No", "Yes"])
92
 
93
  input_data = [[age, tumor_size, tumor_grade, symptoms_severity, smoking_history,