Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,17 +12,17 @@ def main():
|
|
| 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)
|
| 21 |
-
px_height = st.slider("Resolution height(pixels)",min_value =
|
| 22 |
-
px_width = st.slider("Resolution width(pixels)",min_value =
|
| 23 |
ram = st.slider("Ram(Megabytes)",min_value = 256, max_value = 4096, step=1)
|
| 24 |
-
sc_h = st.slider("Screen height(cm)",min_value =
|
| 25 |
-
sc_w = st.slider("Screen width(cm)",min_value =
|
| 26 |
touch_screen = st.selectbox("Have touchscreen?",options = bool_list)
|
| 27 |
wifi = st.selectbox("Have wifi?",options = bool_list)
|
| 28 |
|
|
|
|
| 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.1, max_value = 3.0, 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)
|
| 21 |
+
px_height = st.slider("Resolution height(pixels)",min_value = 1, max_value = 1960, step=1)
|
| 22 |
+
px_width = st.slider("Resolution width(pixels)",min_value = 1, max_value = 2000, 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 = 1, max_value = 20, step=1)
|
| 25 |
+
sc_w = st.slider("Screen width(cm)",min_value = 1, 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 |
|