TM9450 commited on
Commit
e516e4d
·
1 Parent(s): 9013cd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ def main():
22
  heart_disease = st.selectbox("Heart_Disease", options=unique_heart_disease)
23
  work_type = st.selectbox("Work_type", options=unique_work_type)
24
  residence = st.selectbox("Residence", options=unique_residence_type)
25
- glucose_level = st.number_input("Glucose_Level")
26
- bmi = st.number_input("BMI")
27
  smoking = st.selectbox("Smoking", options=unique_smoking_status)
28
 
29
  # clicked==True only when the button is clicked
 
22
  heart_disease = st.selectbox("Heart_Disease", options=unique_heart_disease)
23
  work_type = st.selectbox("Work_type", options=unique_work_type)
24
  residence = st.selectbox("Residence", options=unique_residence_type)
25
+ glucose_level = st.slider("Glucose_Level", min_value=0, max_value=300)
26
+ bmi = st.slider("BMI", min_value=10, max_value=50)
27
  smoking = st.selectbox("Smoking", options=unique_smoking_status)
28
 
29
  # clicked==True only when the button is clicked