Gopala Krishna
commited on
Commit
•
1ab1f0f
1
Parent(s):
4af32df
changed theme
Browse files- .vs/MovieRecommendations/FileContentIndex/247c28e0-decc-4c11-9ce9-c0231398404b.vsidx +0 -0
- .vs/MovieRecommendations/FileContentIndex/405580a8-51e2-4d6a-baec-f259035e0023.vsidx +0 -0
- .vs/MovieRecommendations/FileContentIndex/494e6ef4-5dce-4821-ad2a-1c5f246a682f.vsidx +0 -0
- .vs/MovieRecommendations/FileContentIndex/87cb56c3-6059-4ba5-b27e-304ca582f28a.vsidx +0 -0
- .vs/MovieRecommendations/FileContentIndex/97d1e0fa-b399-43b1-a186-1f98df803b0a.vsidx +0 -0
- .vs/MovieRecommendations/FileContentIndex/a667826a-060e-41cb-b81b-726b0e815263.vsidx +0 -0
- .vs/MovieRecommendations/FileContentIndex/ec9ead7e-c45b-42d0-b101-344efaa468e4.vsidx +0 -0
- .vs/MovieRecommendations/v17/.wsuo +0 -0
- .vs/slnx.sqlite +0 -0
- README.md +1 -1
- app.py +3 -2
.vs/MovieRecommendations/FileContentIndex/247c28e0-decc-4c11-9ce9-c0231398404b.vsidx
ADDED
Binary file (3.53 kB). View file
|
|
.vs/MovieRecommendations/FileContentIndex/405580a8-51e2-4d6a-baec-f259035e0023.vsidx
ADDED
Binary file (8.92 kB). View file
|
|
.vs/MovieRecommendations/FileContentIndex/494e6ef4-5dce-4821-ad2a-1c5f246a682f.vsidx
DELETED
Binary file (12.2 kB)
|
|
.vs/MovieRecommendations/FileContentIndex/87cb56c3-6059-4ba5-b27e-304ca582f28a.vsidx
ADDED
Binary file (96.7 kB). View file
|
|
.vs/MovieRecommendations/FileContentIndex/97d1e0fa-b399-43b1-a186-1f98df803b0a.vsidx
DELETED
Binary file (691 Bytes)
|
|
.vs/MovieRecommendations/FileContentIndex/a667826a-060e-41cb-b81b-726b0e815263.vsidx
DELETED
Binary file (4.83 kB)
|
|
.vs/MovieRecommendations/FileContentIndex/ec9ead7e-c45b-42d0-b101-344efaa468e4.vsidx
DELETED
Binary file (152 kB)
|
|
.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
|
|
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🐢
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.22.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
app.py
CHANGED
@@ -63,12 +63,13 @@ X, user_mapper, movie_mapper, user_inv_mapper, movie_inv_mapper = create_matrix(
|
|
63 |
movie_titles = dict(zip(movies['movieId'], movies['title']))
|
64 |
|
65 |
# Set up Gradio interface
|
66 |
-
movie_name = gr.inputs.Textbox(
|
67 |
outputs = gr.outputs.Textbox(label="Recommended Movies", type="text")
|
68 |
|
69 |
iface = gr.Interface(
|
70 |
fn=recommend_movies,
|
71 |
inputs=movie_name,
|
72 |
-
outputs=outputs
|
|
|
73 |
)
|
74 |
iface.launch()
|
|
|
63 |
movie_titles = dict(zip(movies['movieId'], movies['title']))
|
64 |
|
65 |
# Set up Gradio interface
|
66 |
+
movie_name = gr.inputs.Textbox(label="Movie Name")
|
67 |
outputs = gr.outputs.Textbox(label="Recommended Movies", type="text")
|
68 |
|
69 |
iface = gr.Interface(
|
70 |
fn=recommend_movies,
|
71 |
inputs=movie_name,
|
72 |
+
outputs=outputs,
|
73 |
+
theme=gr.themes.Default(primary_hue="slate"))
|
74 |
)
|
75 |
iface.launch()
|