Viraj2307 commited on
Commit
7f2bee8
·
1 Parent(s): f114b1f

Latest Change

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -144,7 +144,7 @@ st.success("Word2Vec model trained successfully!")
144
  st.subheader("🔗 Find Similar Products")
145
  selected_product = st.selectbox("Select a product to find recommendations:", df["Description"].unique())
146
 
147
- if st.button("Recommend Products"):
148
  try:
149
  similar_products = model.wv.most_similar(selected_product, topn=5) # Top 5 recommendations
150
  st.write("### Recommended Products")
 
144
  st.subheader("🔗 Find Similar Products")
145
  selected_product = st.selectbox("Select a product to find recommendations:", df["Description"].unique())
146
 
147
+ if st.button("Recommend Products for Customers"):
148
  try:
149
  similar_products = model.wv.most_similar(selected_product, topn=5) # Top 5 recommendations
150
  st.write("### Recommended Products")