Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def recommend_image(movie, sim):
|
|
32 |
cnt = 0
|
33 |
for key in dist:
|
34 |
cnt = cnt+1
|
35 |
-
if cnt <
|
36 |
title = data.iloc[key].title
|
37 |
try:
|
38 |
posterRes, plotRes = get_poster_plot(title)
|
|
|
32 |
cnt = 0
|
33 |
for key in dist:
|
34 |
cnt = cnt+1
|
35 |
+
if cnt < 15:
|
36 |
title = data.iloc[key].title
|
37 |
try:
|
38 |
posterRes, plotRes = get_poster_plot(title)
|