Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -154,4 +154,7 @@ def recommend_products_for_user(user_id, top_n=1):
|
|
154 |
# 사용자 맞춤 추천 실행
|
155 |
user_id_to_recommend = 1 # 추천할 사용자 ID
|
156 |
top_n_recommendations = 1 # 추천 상품 개수
|
157 |
-
recommended_products = recommend_products_for_user(user_id_to_recommend, top_n=top_n_recommendations)
|
|
|
|
|
|
|
|
154 |
# 사용자 맞춤 추천 실행
|
155 |
user_id_to_recommend = 1 # 추천할 사용자 ID
|
156 |
top_n_recommendations = 1 # 추천 상품 개수
|
157 |
+
recommended_products = recommend_products_for_user(user_id_to_recommend, top_n=top_n_recommendations)
|
158 |
+
|
159 |
+
print(user_embedding.shape)
|
160 |
+
print(product_embeddings.shape)
|