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():
|
| 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)
|
|
@@ -64,7 +64,7 @@ with col1:
|
|
| 64 |
predicted_price = model.predict(new_pred)
|
| 65 |
|
| 66 |
with col2:
|
| 67 |
-
with st.container():
|
| 68 |
# Placeholder for displaying the predicted price at the top
|
| 69 |
price_placeholder = st.empty()
|
| 70 |
price_placeholder.markdown(
|
|
|
|
| 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)
|
|
|
|
| 64 |
predicted_price = model.predict(new_pred)
|
| 65 |
|
| 66 |
with col2:
|
| 67 |
+
with st.container(height=500):
|
| 68 |
# Placeholder for displaying the predicted price at the top
|
| 69 |
price_placeholder = st.empty()
|
| 70 |
price_placeholder.markdown(
|