Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -54,9 +54,9 @@ def display_recommendations(cname, use_euclidian_distance, use_description_embed
|
|
54 |
|
55 |
title = "Marvel Snap deck starter"
|
56 |
description = """Gradio demo for Marvel Snap deck starter \n
|
57 |
-
To use it, simply select the card in the dropdown (cname) that you want to use to kickstart the deck and after
|
58 |
-
1) Use the euclidian distance
|
59 |
-
2) Use the description (name + stats + ability X transformers encoder) as
|
60 |
More details in this article https://www.the-odd-dataguy.com/2023/01/15/marvel_snap_cold_start/
|
61 |
"""
|
62 |
article = "<div style='text-align: center;'>Marvel Snap deck starter by <a href='https://www.linkedin.com/in/jeanmicheldaignan/' target='_blank'>Jean-Michel D</a> | <a href='https://www.the-odd-dataguy.com/2023/01/15/marvel_snap_cold_start/' target='_blank'>Article</a>"
|
54 |
|
55 |
title = "Marvel Snap deck starter"
|
56 |
description = """Gradio demo for Marvel Snap deck starter \n
|
57 |
+
To use it, simply select the card in the dropdown (cname) that you want to use to kickstart the deck and after use the type of recommender system:\n
|
58 |
+
1) use_euclidian_distance: Use the euclidian distance or the normalized association \n
|
59 |
+
2) use_description_embedding: Use the description (name + stats + ability X transformers encoder) as first filtering before the model in 1)\n
|
60 |
More details in this article https://www.the-odd-dataguy.com/2023/01/15/marvel_snap_cold_start/
|
61 |
"""
|
62 |
article = "<div style='text-align: center;'>Marvel Snap deck starter by <a href='https://www.linkedin.com/in/jeanmicheldaignan/' target='_blank'>Jean-Michel D</a> | <a href='https://www.the-odd-dataguy.com/2023/01/15/marvel_snap_cold_start/' target='_blank'>Article</a>"
|