Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -70,11 +70,13 @@ def recommend_movies_cf(user_id):
|
|
70 |
# Update the existing Gradio interface
|
71 |
with gr.Blocks() as iface:
|
72 |
with gr.Tab("Content-Based Filtering"):
|
73 |
-
gr.Interface(fn=recommend_movies,
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
|
|
78 |
|
79 |
with gr.Tab("Collaborative Filtering"):
|
80 |
gr.Interface(fn=recommend_movies_cf,
|
|
|
70 |
# Update the existing Gradio interface
|
71 |
with gr.Blocks() as iface:
|
72 |
with gr.Tab("Content-Based Filtering"):
|
73 |
+
# gr.Interface(fn=recommend_movies,
|
74 |
+
# inputs=gr.Dropdown(movie_list, label=f"Select a Movie (Total movies: {total_movies}, randomly list {input_count} for demo purpose.)"),
|
75 |
+
# outputs=[gr.Textbox(label="Recommended Movies:")],
|
76 |
+
# title="Movie Recommender - Content-Based Filtering",
|
77 |
+
# description="Select a movie to get recommendations based on content filtering.")
|
78 |
+
gr.Markdown("## Recommendation - Content-Based Filtering")
|
79 |
+
gr.Markdown("### In construction")
|
80 |
|
81 |
with gr.Tab("Collaborative Filtering"):
|
82 |
gr.Interface(fn=recommend_movies_cf,
|