RMHalak commited on
Commit
be61306
·
verified ·
1 Parent(s): 245b72e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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, 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)
@@ -69,7 +69,7 @@ with col2:
69
  price_placeholder.markdown(
70
  f"<h1 style='font-size: 24px;'>Predicted Price: ${predicted_price[0][0]:,.2f}</h1>",
71
  unsafe_allow_html=True)
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)
 
22
  with col1:
23
  st.subheader('Features')
24
 
25
+ with st.container(height=800, 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)
 
69
  price_placeholder.markdown(
70
  f"<h1 style='font-size: 24px;'>Predicted Price: ${predicted_price[0][0]:,.2f}</h1>",
71
  unsafe_allow_html=True)
72
+ map_data = pd.DataFrame(cities_geo[city])
73
+ st.map(map_data, zoom=11)
74
+ # with st.container(height=500, border=False):
75
+