Gopala Krishna
commited on
Commit
·
cd1cc7d
1
Parent(s):
36444c9
- .vs/MovieRecommendations/v17/.wsuo +0 -0
- app.py +2 -3
.vs/MovieRecommendations/v17/.wsuo
CHANGED
Binary files a/.vs/MovieRecommendations/v17/.wsuo and b/.vs/MovieRecommendations/v17/.wsuo differ
|
|
app.py
CHANGED
@@ -65,11 +65,10 @@ movie_titles = dict(zip(movies['movieId'], movies['title']))
|
|
65 |
|
66 |
# Set up Gradio interface
|
67 |
movie_name = gr.inputs.Textbox(default="Sweet November", label="Movie Name")
|
|
|
68 |
iface = gr.Interface(
|
69 |
fn=recommend_movies,
|
70 |
inputs=movie_name,
|
71 |
-
outputs="text"
|
72 |
-
title="Movie Recommender System",
|
73 |
-
description="Enter a movie name and get recommendations for similar movies."
|
74 |
)
|
75 |
iface.launch()
|
|
|
65 |
|
66 |
# Set up Gradio interface
|
67 |
movie_name = gr.inputs.Textbox(default="Sweet November", label="Movie Name")
|
68 |
+
gr.outputs.Textbox(label="Recommended Movies")
|
69 |
iface = gr.Interface(
|
70 |
fn=recommend_movies,
|
71 |
inputs=movie_name,
|
72 |
+
outputs="text"
|
|
|
|
|
73 |
)
|
74 |
iface.launch()
|