Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ col1, col2 = st.columns([1, 2]) # Adjust the width ratios as needed
|
|
36 |
with col1:
|
37 |
st.subheader('Features')
|
38 |
|
39 |
-
with st.container(height=
|
40 |
city = st.selectbox('City', list(cities_geo.keys())) # Display city dropdown in the first column
|
41 |
waterfront = st.checkbox('Waterfront', value=False)
|
42 |
bedrooms = st.slider('Bedrooms', min_value=min_dict['bedrooms'], max_value=max_dict['bedrooms'], value=3)
|
@@ -82,5 +82,5 @@ with col2:
|
|
82 |
price_placeholder = st.empty()
|
83 |
price_placeholder.subheader(f'Predicted Price: ${predicted_price[0][0]:,.2f}')
|
84 |
map_data = pd.DataFrame(cities_geo[city])
|
85 |
-
with st.container(height=
|
86 |
st.map(map_data, zoom=11)
|
|
|
36 |
with col1:
|
37 |
st.subheader('Features')
|
38 |
|
39 |
+
with st.container(height=550, border=True):
|
40 |
city = st.selectbox('City', list(cities_geo.keys())) # Display city dropdown in the first column
|
41 |
waterfront = st.checkbox('Waterfront', value=False)
|
42 |
bedrooms = st.slider('Bedrooms', min_value=min_dict['bedrooms'], max_value=max_dict['bedrooms'], value=3)
|
|
|
82 |
price_placeholder = st.empty()
|
83 |
price_placeholder.subheader(f'Predicted Price: ${predicted_price[0][0]:,.2f}')
|
84 |
map_data = pd.DataFrame(cities_geo[city])
|
85 |
+
with st.container(height=550, border=True):
|
86 |
st.map(map_data, zoom=11)
|