Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ col1, col2 = st.columns([1, 2]) # Adjust the width ratios as needed
|
|
22 |
with col1:
|
23 |
st.subheader('Features')
|
24 |
|
25 |
-
with st.container(height=500):
|
26 |
city = st.selectbox('City', list(cities_geo.keys())) # Display city dropdown in the first column
|
27 |
waterfront = st.checkbox('Waterfront', value=False)
|
28 |
bedrooms = st.slider('Bedrooms', min_value=min_dict['bedrooms'], max_value=max_dict['bedrooms'], value=3)
|
@@ -72,4 +72,4 @@ with col2:
|
|
72 |
|
73 |
with st.container(height=500, border=False):
|
74 |
map_data = pd.DataFrame(cities_geo[city])
|
75 |
-
st.map(map_data, zoom=11)
|
|
|
22 |
with col1:
|
23 |
st.subheader('Features')
|
24 |
|
25 |
+
with st.container(height=500, border=False):
|
26 |
city = st.selectbox('City', list(cities_geo.keys())) # Display city dropdown in the first column
|
27 |
waterfront = st.checkbox('Waterfront', value=False)
|
28 |
bedrooms = st.slider('Bedrooms', min_value=min_dict['bedrooms'], max_value=max_dict['bedrooms'], value=3)
|
|
|
72 |
|
73 |
with st.container(height=500, border=False):
|
74 |
map_data = pd.DataFrame(cities_geo[city])
|
75 |
+
st.map(map_data, zoom=11, use_container_width=False)
|