Spaces:
Runtime error
Runtime error
Commit
·
7f94470
1
Parent(s):
1ff58d7
Update app.py
Browse files
app.py
CHANGED
@@ -114,6 +114,13 @@ def get_recommendations(id):
|
|
114 |
demo = gr.Blocks()
|
115 |
|
116 |
with demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
with gr.Box():
|
118 |
gr.Markdown(
|
119 |
"""
|
@@ -158,4 +165,4 @@ with demo:
|
|
158 |
outputs=[df1, df2])
|
159 |
|
160 |
|
161 |
-
demo.launch()
|
|
|
114 |
demo = gr.Blocks()
|
115 |
|
116 |
with demo:
|
117 |
+
gr.Markdown("""
|
118 |
+
<div>
|
119 |
+
<h1 style='text-align: center'>Movie Recommender</h1>
|
120 |
+
Collaborative Filtering is used to predict the top 10 recommended movies for a particular user from the dataset based on that user and previous movies they have rated.
|
121 |
+
</div>
|
122 |
+
""")
|
123 |
+
|
124 |
with gr.Box():
|
125 |
gr.Markdown(
|
126 |
"""
|
|
|
165 |
outputs=[df1, df2])
|
166 |
|
167 |
|
168 |
+
demo.launch(debug=True)
|