Spaces:
Runtime error
Runtime error
ayoni02
commited on
Commit
·
172834c
1
Parent(s):
eb88a98
changes
Browse files
app.py
CHANGED
@@ -62,7 +62,15 @@ def gl(num):
|
|
62 |
|
63 |
text = gr.components.Number(label="pick a number between 1 and 1000")
|
64 |
label = gr.components.Text(label="Picked User Top 5 Recommendations:")
|
65 |
-
example = [2,
|
66 |
-
|
67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
intf.launch(inline=False)
|
|
|
62 |
|
63 |
text = gr.components.Number(label="pick a number between 1 and 1000")
|
64 |
label = gr.components.Text(label="Picked User Top 5 Recommendations:")
|
65 |
+
example = [2, 20, 200, 1000]
|
66 |
+
des = """
|
67 |
+
This model is meant to build a recommendation system for a user who's already
|
68 |
+
made some ratings for some of the books in the Library. This model then uses
|
69 |
+
those ratings with the other user ratings are then used to make a prediction
|
70 |
+
on what other kinds of books the user might like.
|
71 |
+
This dataset comes from a the kaggle website https://www.kaggle.com/datasets/ruchi798/bookcrossing-dataset
|
72 |
+
The model is built with an inspiration from this notebook https://www.kaggle.com/code/stpeteishii/surprise-recommend-books-for-users/notebook
|
73 |
+
"""
|
74 |
+
Title= "Book Recommedation System With Surprise Library"
|
75 |
+
intf = gr.Interface(fn=gl, inputs=text, outputs=label, examples=example, description=des, title=Title)
|
76 |
intf.launch(inline=False)
|