Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def get_similar_products_cnn(product_id, num_results):
|
|
72 |
st.image(image)
|
73 |
st.write(f"Product Title: {row['ProductTitle']}")
|
74 |
st.write(f"""
|
75 |
-
#### Top {num_results
|
76 |
""")
|
77 |
for i in range(1,len(indices)):
|
78 |
rows = fashion_df[['ImageURL','ProductTitle']].loc[fashion_df['ProductId']==Productids[indices[i]]]
|
|
|
72 |
st.image(image)
|
73 |
st.write(f"Product Title: {row['ProductTitle']}")
|
74 |
st.write(f"""
|
75 |
+
#### Top {num_results} Recommended items
|
76 |
""")
|
77 |
for i in range(1,len(indices)):
|
78 |
rows = fashion_df[['ImageURL','ProductTitle']].loc[fashion_df['ProductId']==Productids[indices[i]]]
|