Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,6 @@ qualified = md[(md['vote_count'] >= m) & (md['vote_count'].notnull()) & (md['vot
|
|
90 |
|
91 |
qualified['vote_count'] = qualified['vote_count'].astype(int)
|
92 |
qualified['vote_average'] = qualified['vote_average'].astype(int)
|
93 |
-
qualified.shape
|
94 |
|
95 |
|
96 |
# In[11]:
|
@@ -142,7 +141,6 @@ def build_chart(genre, percentile=0.85):
|
|
142 |
# In[15]:
|
143 |
|
144 |
|
145 |
-
build_chart('Romance')
|
146 |
|
147 |
|
148 |
# <b> Content Based Recommender/ Filtering <b>
|
@@ -249,8 +247,7 @@ def get_recommendations(title):
|
|
249 |
# In[28]:
|
250 |
|
251 |
|
252 |
-
|
253 |
-
return "Hello " + name + "!!"
|
254 |
|
255 |
|
256 |
# In[27]:
|
@@ -287,7 +284,7 @@ smd = md[md['id'].isin(links)]
|
|
287 |
# In[45]:
|
288 |
|
289 |
|
290 |
-
smd.shape
|
291 |
|
292 |
|
293 |
# In[46]:
|
|
|
90 |
|
91 |
qualified['vote_count'] = qualified['vote_count'].astype(int)
|
92 |
qualified['vote_average'] = qualified['vote_average'].astype(int)
|
|
|
93 |
|
94 |
|
95 |
# In[11]:
|
|
|
141 |
# In[15]:
|
142 |
|
143 |
|
|
|
144 |
|
145 |
|
146 |
# <b> Content Based Recommender/ Filtering <b>
|
|
|
247 |
# In[28]:
|
248 |
|
249 |
|
250 |
+
|
|
|
251 |
|
252 |
|
253 |
# In[27]:
|
|
|
284 |
# In[45]:
|
285 |
|
286 |
|
287 |
+
#smd.shape
|
288 |
|
289 |
|
290 |
# In[46]:
|