Spaces:
Sleeping
Sleeping
Arko Banik
commited on
Commit
·
32a0a02
1
Parent(s):
1277726
return list of sorted word, score tuples
Browse files
app.py
CHANGED
@@ -228,7 +228,7 @@ def get_sorted_cosine_similarity(embeddings_metadata):
|
|
228 |
for cat_pair in sorted_cats:
|
229 |
cosine_sim[cat_pair[0]] = cat_pair[1]
|
230 |
|
231 |
-
return
|
232 |
|
233 |
|
234 |
def plot_piechart(sorted_cosine_scores_items):
|
|
|
228 |
for cat_pair in sorted_cats:
|
229 |
cosine_sim[cat_pair[0]] = cat_pair[1]
|
230 |
|
231 |
+
return sorted_cats
|
232 |
|
233 |
|
234 |
def plot_piechart(sorted_cosine_scores_items):
|