varshitha22 commited on
Commit
72b71c2
·
verified ·
1 Parent(s): f60ffba

Update cancer.py

Browse files
Files changed (1) hide show
  1. cancer.py +4 -4
cancer.py CHANGED
@@ -80,13 +80,13 @@ col1, col2 = st.columns(2)
80
  with col1:
81
  age = st.slider("Age", 18, 100, 30)
82
  tumor_size = st.slider("Tumor Size", 1.0, 10.0, 5.0)
83
- tumor_grade = st.radio("Tumor Grade", ['High', 'Low', 'Medium'])
84
  symptoms_severity = st.radio("Symptoms Severity", ['Mild', 'Moderate', 'Severe'])
85
 
86
  with col2:
87
- smoking_history = st.radio("Smoking History", ['Never Smoker', 'Former Smoker', 'Current Smoker'])
88
- alcohol_consumption = st.radio("Alcohol Consumption", ['Low', 'Moderate', 'High'])
89
- exercise_frequency = st.radio("Exercise Frequency", ['Rarely', 'Occasionally', 'Regularly', 'Never'])
90
  gender = st.radio("Gender", ['Male', "Female"])
91
  family_history = st.radio("Family History", ["No", "Yes"])
92
 
 
80
  with col1:
81
  age = st.slider("Age", 18, 100, 30)
82
  tumor_size = st.slider("Tumor Size", 1.0, 10.0, 5.0)
83
+ tumor_grade = st.selectbox("Tumor Grade", ['High', 'Low', 'Medium'])
84
  symptoms_severity = st.radio("Symptoms Severity", ['Mild', 'Moderate', 'Severe'])
85
 
86
  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.radio("Gender", ['Male', "Female"])
91
  family_history = st.radio("Family History", ["No", "Yes"])
92