Gopala Krishna
commited on
Commit
·
9868478
1
Parent(s):
4fc63e1
Working with movie name
Browse files
.vs/MovieRecommendations/FileContentIndex/f9de3a43-2837-44a5-86ca-17e7f15e5432.vsidx
ADDED
Binary file (11.4 kB). View file
|
|
.vs/MovieRecommendations/v17/.wsuo
CHANGED
Binary files a/.vs/MovieRecommendations/v17/.wsuo and b/.vs/MovieRecommendations/v17/.wsuo differ
|
|
.vs/slnx.sqlite
CHANGED
Binary files a/.vs/slnx.sqlite and b/.vs/slnx.sqlite differ
|
|
app.py
CHANGED
@@ -65,10 +65,11 @@ 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 |
-
outputs=gr.outputs.Textbox(label="Recommended Movies
|
|
|
69 |
iface = gr.Interface(
|
70 |
fn=recommend_movies,
|
71 |
inputs=movie_name,
|
72 |
-
outputs=
|
73 |
)
|
74 |
iface.launch()
|
|
|
65 |
|
66 |
# Set up Gradio interface
|
67 |
movie_name = gr.inputs.Textbox(default="Sweet November", label="Movie Name")
|
68 |
+
outputs = gr.outputs.Textbox(label="Recommended Movies")
|
69 |
+
|
70 |
iface = gr.Interface(
|
71 |
fn=recommend_movies,
|
72 |
inputs=movie_name,
|
73 |
+
outputs=outputs
|
74 |
)
|
75 |
iface.launch()
|