Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ def recommendd(features, features_list):
|
|
| 85 |
|
| 86 |
#decrease the size of the title
|
| 87 |
st.markdown("<h1 style='text-align: center; color: black;'>Home recommender system using Computer Vision</h1>", unsafe_allow_html=True)
|
| 88 |
-
st.markdown("<h2 style='text-align: left; color: black;'>Select the
|
| 89 |
|
| 90 |
demo_images = st.selectbox("", img_files_list)
|
| 91 |
show_images = Image.open(demo_images)
|
|
@@ -97,7 +97,7 @@ features = extract_img_features(demo_images, model)
|
|
| 97 |
# img_indicess, distence = recommendd(features, features_list)
|
| 98 |
img_indicess = recommendd(features, features_list)
|
| 99 |
|
| 100 |
-
st.markdown("<h2 style='text-align: left; color: black;'>Recommended
|
| 101 |
|
| 102 |
col1,col2,col3 = st.columns(3)
|
| 103 |
|
|
|
|
| 85 |
|
| 86 |
#decrease the size of the title
|
| 87 |
st.markdown("<h1 style='text-align: center; color: black;'>Home recommender system using Computer Vision</h1>", unsafe_allow_html=True)
|
| 88 |
+
st.markdown("<h2 style='text-align: left; color: black;'>Select the home style below</h2>", unsafe_allow_html=True)
|
| 89 |
|
| 90 |
demo_images = st.selectbox("", img_files_list)
|
| 91 |
show_images = Image.open(demo_images)
|
|
|
|
| 97 |
# img_indicess, distence = recommendd(features, features_list)
|
| 98 |
img_indicess = recommendd(features, features_list)
|
| 99 |
|
| 100 |
+
st.markdown("<h2 style='text-align: left; color: black;'>Recommended Homes</h2>", unsafe_allow_html=True)
|
| 101 |
|
| 102 |
col1,col2,col3 = st.columns(3)
|
| 103 |
|