Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,7 @@ def main():
|
|
31 |
sex = st.selectbox("Sex", options = unique_sex)
|
32 |
age = st.slider("Age", min_value = 20, max_value = 90)
|
33 |
country = st.selectbox("Country of the client United Nations admitted countries", options = unique_country)
|
|
|
34 |
GImg1 = st.selectbox("Handshake Indifferent", options = unique_GImg1)
|
35 |
GImg2 = st.selectbox("Hug Indifferent", options = unique_GImg2)
|
36 |
GImg3 = st.selectbox("Kiss Indifferent", options = unique_GImg3)
|
@@ -58,6 +59,7 @@ def main():
|
|
58 |
result=model.predict(pd.DataFrame({"sex":[sex],
|
59 |
"age":[age],
|
60 |
"country":[country],
|
|
|
61 |
"GImg1":[GImg1],
|
62 |
"GImg2":[GImg2],
|
63 |
"GImg3":[GImg3],
|
|
|
31 |
sex = st.selectbox("Sex", options = unique_sex)
|
32 |
age = st.slider("Age", min_value = 20, max_value = 90)
|
33 |
country = st.selectbox("Country of the client United Nations admitted countries", options = unique_country)
|
34 |
+
returning = st.selectbox(" If the client is returning ", options = unique_returning)
|
35 |
GImg1 = st.selectbox("Handshake Indifferent", options = unique_GImg1)
|
36 |
GImg2 = st.selectbox("Hug Indifferent", options = unique_GImg2)
|
37 |
GImg3 = st.selectbox("Kiss Indifferent", options = unique_GImg3)
|
|
|
59 |
result=model.predict(pd.DataFrame({"sex":[sex],
|
60 |
"age":[age],
|
61 |
"country":[country],
|
62 |
+
"returning':[returning]
|
63 |
"GImg1":[GImg1],
|
64 |
"GImg2":[GImg2],
|
65 |
"GImg3":[GImg3],
|