Update app.py
Browse files
app.py
CHANGED
|
@@ -62,8 +62,19 @@ with col1:
|
|
| 62 |
with col2:
|
| 63 |
## Geography
|
| 64 |
option_geo=["France","Spain","Germany"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
-
st.markdown('<span style="color: #1ba098;">Select the Geography:</span>', unsafe_allow_html=True)
|
| 67 |
geo=st.selectbox("",options=option_geo)
|
| 68 |
geography_value=option_geo.index(geo)
|
| 69 |
|
|
@@ -71,7 +82,7 @@ col1, col2 = st.columns(2)
|
|
| 71 |
with col1:
|
| 72 |
## gender
|
| 73 |
option_gen=["Female "," Male"]
|
| 74 |
-
|
| 75 |
<div style="
|
| 76 |
padding: 15px;
|
| 77 |
background-color: #f7f4e9;
|
|
|
|
| 62 |
with col2:
|
| 63 |
## Geography
|
| 64 |
option_geo=["France","Spain","Germany"]
|
| 65 |
+
st.markdown(f"""
|
| 66 |
+
<div style="
|
| 67 |
+
padding: 15px;
|
| 68 |
+
background-color: #f7f4e9;
|
| 69 |
+
border-radius: 10px;
|
| 70 |
+
text-align: center;
|
| 71 |
+
font-size: 18px;
|
| 72 |
+
font-weight: bold;
|
| 73 |
+
color: #1ba098;">
|
| 74 |
+
{ "Select the Geography:"}
|
| 75 |
+
</div>
|
| 76 |
+
""", unsafe_allow_html=True)
|
| 77 |
|
|
|
|
| 78 |
geo=st.selectbox("",options=option_geo)
|
| 79 |
geography_value=option_geo.index(geo)
|
| 80 |
|
|
|
|
| 82 |
with col1:
|
| 83 |
## gender
|
| 84 |
option_gen=["Female "," Male"]
|
| 85 |
+
st.markdown(f"""
|
| 86 |
<div style="
|
| 87 |
padding: 15px;
|
| 88 |
background-color: #f7f4e9;
|