Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -35,10 +35,9 @@ col1, col2 = st.columns([1, 2]) # Adjust the width ratios as needed
|
|
35 |
with col1:
|
36 |
st.subheader('Features')
|
37 |
|
38 |
-
with st.container(height=800,border=
|
39 |
city = st.selectbox('City', list(cities_geo.keys())) # Display city dropdown in the first column
|
40 |
waterfront = st.checkbox('Waterfront', value=False)
|
41 |
-
# st.markdown('<div class="slider-container">', unsafe_allow_html=True)
|
42 |
bedrooms = st.slider('Bedrooms', min_value=min_dict['bedrooms'], max_value=max_dict['bedrooms'], value=3)
|
43 |
bathrooms = st.slider('Bathrooms', min_value=min_dict['bathrooms'], max_value=max_dict['bathrooms'], value=2)
|
44 |
sqft_living = st.slider('Square Feet (Living)', min_value=min_dict['sqft_living'], max_value=max_dict['sqft_living'], value=1000)
|
@@ -50,7 +49,6 @@ with col1:
|
|
50 |
sqft_basement = st.slider('Square Feet (Basement)', min_value=min_dict['sqft_basement'], max_value=max_dict['sqft_basement'], value=0)
|
51 |
yr_built = st.slider('Year Built', min_value=min_dict['yr_built'], max_value=max_dict['yr_built'], value=2000)
|
52 |
yr_renovated = st.slider('Year Renovated', min_value=min_dict['yr_renovated'], max_value=min_dict['yr_renovated'], value=2010)
|
53 |
-
# st.markdown('</div>', unsafe_allow_html=True)
|
54 |
|
55 |
st.markdown('</div>', unsafe_allow_html=True)
|
56 |
|
|
|
35 |
with col1:
|
36 |
st.subheader('Features')
|
37 |
|
38 |
+
with st.container(height=800, border=True):
|
39 |
city = st.selectbox('City', list(cities_geo.keys())) # Display city dropdown in the first column
|
40 |
waterfront = st.checkbox('Waterfront', value=False)
|
|
|
41 |
bedrooms = st.slider('Bedrooms', min_value=min_dict['bedrooms'], max_value=max_dict['bedrooms'], value=3)
|
42 |
bathrooms = st.slider('Bathrooms', min_value=min_dict['bathrooms'], max_value=max_dict['bathrooms'], value=2)
|
43 |
sqft_living = st.slider('Square Feet (Living)', min_value=min_dict['sqft_living'], max_value=max_dict['sqft_living'], value=1000)
|
|
|
49 |
sqft_basement = st.slider('Square Feet (Basement)', min_value=min_dict['sqft_basement'], max_value=max_dict['sqft_basement'], value=0)
|
50 |
yr_built = st.slider('Year Built', min_value=min_dict['yr_built'], max_value=max_dict['yr_built'], value=2000)
|
51 |
yr_renovated = st.slider('Year Renovated', min_value=min_dict['yr_renovated'], max_value=min_dict['yr_renovated'], value=2010)
|
|
|
52 |
|
53 |
st.markdown('</div>', unsafe_allow_html=True)
|
54 |
|