andykr1k commited on
Commit
0ae3df4
·
1 Parent(s): 3eb6086

bug in feed rec

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -297,8 +297,8 @@ class Recommender:
297
  for post_id, embedding in zip(post_ids, embeddings):
298
  post_features[post_id] = embedding / np.linalg.norm(embedding)
299
 
300
- existing_post_ids = await self.fetch_existing_post_ids()
301
- self.clean_deleted_posts(existing_post_ids)
302
 
303
  self.last_update = datetime.now(TIMEZONE)
304
  total_interactions = len(likes) + len(comments) + \
 
297
  for post_id, embedding in zip(post_ids, embeddings):
298
  post_features[post_id] = embedding / np.linalg.norm(embedding)
299
 
300
+ # existing_post_ids = await self.fetch_existing_post_ids()
301
+ # self.clean_deleted_posts(existing_post_ids)
302
 
303
  self.last_update = datetime.now(TIMEZONE)
304
  total_interactions = len(likes) + len(comments) + \