nakere424 commited on
Commit
2f90fd2
·
1 Parent(s): fb5bf81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -11,10 +11,10 @@ def main():
11
 
12
  with st.form("questionaire"):
13
  battery_power = st.slider("Battery Power(mAh)",min_value = 0, max_value = 2000, step=1)
14
- blue = st.selectbox("Have Bluetooth?",option = bool_list)
15
  clock_speed = st.slider("Microprocessor clock speed",min_value = 0, max_value = 3, step=0.1)
16
- dual_sim = st.selectbox("Have Dualsim?",option = bool_list)
17
- four_g = st.selectbox("Have 4G?",option = bool_list)
18
  m_dep = st.slider("Mobile Depth(cm)",min_value = 0.1, max_value = 1, step=0.1)
19
  mobile_wt = st.slider("Mobile Weight(gram)",min_value = 50, max_value = 200, step=1)
20
  n_cores = st.slider("Number of processor core",min_value = 1, max_value = 8, step=1)
@@ -23,8 +23,8 @@ def main():
23
  ram = st.slider("Ram(Megabytes)",min_value = 256, max_value = 4096, step=1)
24
  sc_h = st.slider("Screen height(cm)",min_value = 0, max_value = 20, step=1)
25
  sc_w = st.slider("Screen width(cm)",min_value = 0, max_value = 20, step=1)
26
- touch_screen = st.selectbox("Have touchscreen?",option = bool_list)
27
- wifi = st.selectbox("Have wifi?",option = bool_list)
28
 
29
  submitted = st.form_submit_button("Submit")
30
  if submitted:
 
11
 
12
  with st.form("questionaire"):
13
  battery_power = st.slider("Battery Power(mAh)",min_value = 0, max_value = 2000, step=1)
14
+ blue = st.selectbox("Have Bluetooth?",options = bool_list)
15
  clock_speed = st.slider("Microprocessor clock speed",min_value = 0, max_value = 3, step=0.1)
16
+ dual_sim = st.selectbox("Have Dualsim?",options = bool_list)
17
+ four_g = st.selectbox("Have 4G?",options = bool_list)
18
  m_dep = st.slider("Mobile Depth(cm)",min_value = 0.1, max_value = 1, step=0.1)
19
  mobile_wt = st.slider("Mobile Weight(gram)",min_value = 50, max_value = 200, step=1)
20
  n_cores = st.slider("Number of processor core",min_value = 1, max_value = 8, step=1)
 
23
  ram = st.slider("Ram(Megabytes)",min_value = 256, max_value = 4096, step=1)
24
  sc_h = st.slider("Screen height(cm)",min_value = 0, max_value = 20, step=1)
25
  sc_w = st.slider("Screen width(cm)",min_value = 0, max_value = 20, step=1)
26
+ touch_screen = st.selectbox("Have touchscreen?",options = bool_list)
27
+ wifi = st.selectbox("Have wifi?",options = bool_list)
28
 
29
  submitted = st.form_submit_button("Submit")
30
  if submitted: