Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,13 @@ def main():
|
|
11 |
st.title("Colors Prediction")
|
12 |
|
13 |
with st.form("questionaire"):
|
|
|
|
|
|
|
|
|
14 |
Color = st.selectbox("Color", unique_Color)
|
15 |
|
|
|
16 |
clicked = st.form_submit_button("Predict Color")
|
17 |
if clicked:
|
18 |
result = model.predict(pd.DataFrame({"Room": [room],
|
|
|
11 |
st.title("Colors Prediction")
|
12 |
|
13 |
with st.form("questionaire"):
|
14 |
+
room = st.selectbox("Room", min_value=1, max_value=4)
|
15 |
+
partition = st.selectbox("Partitions",min_value=1, max_value=3)
|
16 |
+
rows = st.selectbox("Rows",min_value=1, max_value=2)
|
17 |
+
columns = st.selectbox("Columns",,min_value=1, max_value=2)
|
18 |
Color = st.selectbox("Color", unique_Color)
|
19 |
|
20 |
+
|
21 |
clicked = st.form_submit_button("Predict Color")
|
22 |
if clicked:
|
23 |
result = model.predict(pd.DataFrame({"Room": [room],
|