Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -48,26 +48,26 @@ def main():
|
|
48 |
st.title("Adult Income")
|
49 |
|
50 |
with st.form("questionaire"):
|
51 |
-
battery_power = st.slider("
|
52 |
-
bluetooth
|
53 |
-
clock_speed
|
54 |
-
dual_sim
|
55 |
-
Front_Camera_mega_pixels
|
56 |
-
Has_4G
|
57 |
-
memory
|
58 |
-
|
59 |
-
Weight
|
60 |
-
Number_of_cores_of_processor
|
61 |
-
Primary_Camera_mega_pixels
|
62 |
-
Pixel_Resolution_Height
|
63 |
-
Pixel_Resolution_Width
|
64 |
-
ram
|
65 |
-
Screen_Height_of_mobile_in_cm
|
66 |
-
Screen_Width_of_mobile_in_cm
|
67 |
-
longest_time_that_a_single_battery_charge_will_last_when_you_are
|
68 |
-
Has_3G
|
69 |
-
Has_touch_screen
|
70 |
-
Has_wifi
|
71 |
|
72 |
age = st.slider("AGE",min_value=10,max_value=100)
|
73 |
workclass = st.selectbox("WorkClass",options=unique_class)
|
|
|
48 |
st.title("Adult Income")
|
49 |
|
50 |
with st.form("questionaire"):
|
51 |
+
battery_power = st.slider("battery_power",min_value=500,max_value=2000)
|
52 |
+
bluetooth = st.selectbox("bluetooth",options=unique_blue)
|
53 |
+
clock_speed = st.slider("clock_speed",min_value=0.5,max_value=3)
|
54 |
+
dual_sim = st.selectbox("dual_sim",options=unique_dual_sim)
|
55 |
+
Front_Camera_mega_pixels = st.slider("Front_Camera_mega_pixels",min_value=0,max_value=15)
|
56 |
+
Has_4G = st.selectbox("Has_4G",options=unique_four_g)
|
57 |
+
memory = st.slider("memory",min_value=500,max_value=2000)
|
58 |
+
Mobile_Depth = st.slider("Mobile_Depth",min_value=0.1,max_value=1)
|
59 |
+
Weight = st.slider("Weight",min_value=80,max_value=200)
|
60 |
+
Number_of_cores_of_processor = st.slider("Number_of_cores_of_processor",min_value=1,max_value=8)
|
61 |
+
Primary_Camera_mega_pixels = st.slider("Primary_Camera_mega_pixels",min_value=0,max_value=20)
|
62 |
+
Pixel_Resolution_Height = st.slider("Pixel_Resolution_Height",min_value=0,max_value=1960)
|
63 |
+
Pixel_Resolution_Width = st.slider("Pixel_Resolution_Width",min_value=500,max_value=1998)
|
64 |
+
ram = st.slider("ram",min_value=256,max_value=3998)
|
65 |
+
Screen_Height_of_mobile_in_cm = st.slider("Screen_Height_of_mobile_in_cm",min_value=5,max_value=19)
|
66 |
+
Screen_Width_of_mobile_in_cm = st.slider("Screen_Width_of_mobile_in_cm",min_value=0,max_value=18)
|
67 |
+
longest_time_that_a_single_battery_charge_will_last_when_you_are = st.slider("longest_time_that_a_single_battery_charge_will_last_when_you_are",min_value=2,max_value=20)
|
68 |
+
Has_3G = st.selectbox("Has_3G",options=unique_three_g)
|
69 |
+
Has_touch_screen = st.selectbox("Has_touch_screen",options=unique_touch_screen)
|
70 |
+
Has_wifi = st.selectbox("Has_wifi",options=unique_wifi)
|
71 |
|
72 |
age = st.slider("AGE",min_value=10,max_value=100)
|
73 |
workclass = st.selectbox("WorkClass",options=unique_class)
|