Iqbaljanitra commited on
Commit
bed81b6
1 Parent(s): 6b73de4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ st.header('Stroke Prediction')
11
  age = st.number_input('Age : ', 1, 82)
12
  average_glucose_level = st.number_input('Average Glucose Level : ', 55.12, 271.74, step=0.1)
13
  bmi = st.number_input('BMI : ', 10.3, 97.6, step=0.1)
14
- hypertension = st.radio('Hypertension 0=No, 1=Yes : ', (0,1))
15
- heart_disease = st.radio('Heart Disease 0=No, 1=Yes : ', (0,1))
16
  ever_married = st.radio('Married Status : ', ('Yes', 'No'))
17
  smoking_status = st.selectbox('Smoking Status : ', ('formerly smoked', 'never smoked', 'smokes', 'Unknown'))
18
 
 
11
  age = st.number_input('Age : ', 1, 82)
12
  average_glucose_level = st.number_input('Average Glucose Level : ', 55.12, 271.74, step=0.1)
13
  bmi = st.number_input('BMI : ', 10.3, 97.6, step=0.1)
14
+ hypertension = st.radio('Hypertension 0=Yes, 1=No : ', (0,1))
15
+ heart_disease = st.radio('Heart Disease 0=Yes, 1=No : ', (0,1))
16
  ever_married = st.radio('Married Status : ', ('Yes', 'No'))
17
  smoking_status = st.selectbox('Smoking Status : ', ('formerly smoked', 'never smoked', 'smokes', 'Unknown'))
18