jeanmidev commited on
Commit
faf5990
1 Parent(s): 66a882a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -53,8 +53,12 @@ def display_recommendations(cname, use_euclidian_distance, use_description_embed
53
  return text_output, recommendations_image
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 that you want to use to kickstart the deck."""
 
 
 
 
58
  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>"
59
 
60
  demo = gr.Interface(
 
53
  return text_output, recommendations_image
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 setup the type of recommender system:\n
58
+ 1) Use the euclidian distance of association embedding to collect the recommendations (if not only based on normalised association)\n
59
+ 2) Use the description (name + stats + ability X transformers encoder) as a 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>"
63
 
64
  demo = gr.Interface(