sarahselim18 commited on
Commit
d02c4b6
·
1 Parent(s): 17fe766

updated get_sorted_CosineSim

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -196,8 +196,7 @@ def get_sorted_cosine_similarity(embeddings_metadata):
196
  ## TODO: Get embeddings for categories ###
197
  cat_embed = []
198
  for cat in categories:
199
- cat_embed = get_glove_embeddings(categories)
200
- cat_embed.append(get_glove_embeddings(categories))
201
 
202
  ##########################################
203
 
 
196
  ## TODO: Get embeddings for categories ###
197
  cat_embed = []
198
  for cat in categories:
199
+ cat_embed.append(get_glove_embeddings(cat))
 
200
 
201
  ##########################################
202