Update app.py
Browse files
app.py
CHANGED
|
@@ -34,19 +34,19 @@ bank_model=joblib.load("bank_churn_svc_model.joblib")
|
|
| 34 |
col1, col2 = st.columns(2)
|
| 35 |
with col1:
|
| 36 |
## CreditScore
|
| 37 |
-
credit_score=st.slider("**Slide the Credit Score Value:**",min_value=350,max_value=850)
|
| 38 |
|
| 39 |
with col2:
|
| 40 |
## Geography
|
| 41 |
option_geo=["France","Spain","Germany"]
|
| 42 |
-
geo=st.selectbox("**Select The Geography: **",options=option_geo)
|
| 43 |
geography_value=option_geo.index(geo)
|
| 44 |
|
| 45 |
col1, col2 = st.columns(2)
|
| 46 |
with col1:
|
| 47 |
## gender
|
| 48 |
option_gen=["Female "," Male"]
|
| 49 |
-
gen=st.selectbox("**Select the Gender **",option_gen)
|
| 50 |
gender_value=option_gen.index(gen)
|
| 51 |
with col2:
|
| 52 |
## Age
|
|
@@ -73,7 +73,7 @@ with col1:
|
|
| 73 |
|
| 74 |
with col2:
|
| 75 |
## EstimatedSalary
|
| 76 |
-
e_salary=st.slider("Silde the Salary :",max_value=199992,min_value=11)
|
| 77 |
|
| 78 |
|
| 79 |
|
|
|
|
| 34 |
col1, col2 = st.columns(2)
|
| 35 |
with col1:
|
| 36 |
## CreditScore
|
| 37 |
+
credit_score=st.slider("** Slide the Credit Score Value: **",min_value=350,max_value=850)
|
| 38 |
|
| 39 |
with col2:
|
| 40 |
## Geography
|
| 41 |
option_geo=["France","Spain","Germany"]
|
| 42 |
+
geo=st.selectbox("** Select The Geography: **",options=option_geo)
|
| 43 |
geography_value=option_geo.index(geo)
|
| 44 |
|
| 45 |
col1, col2 = st.columns(2)
|
| 46 |
with col1:
|
| 47 |
## gender
|
| 48 |
option_gen=["Female "," Male"]
|
| 49 |
+
gen=st.selectbox("** Select the Gender **",option_gen)
|
| 50 |
gender_value=option_gen.index(gen)
|
| 51 |
with col2:
|
| 52 |
## Age
|
|
|
|
| 73 |
|
| 74 |
with col2:
|
| 75 |
## EstimatedSalary
|
| 76 |
+
e_salary=st.slider("** Silde the Salary **:",max_value=199992,min_value=11)
|
| 77 |
|
| 78 |
|
| 79 |
|