YchKhan commited on
Commit
5ffe869
1 Parent(s): cb7ff7b

Update classification.py

Browse files
Files changed (1) hide show
  1. classification.py +1 -1
classification.py CHANGED
@@ -171,7 +171,7 @@ def process_categories(categories, model):
171
 
172
 
173
  def match_categories(df, category_df, treshold=0.45):
174
- categories_list, experts_list, topic_list, scores_list = [], [], []
175
  for topic in category_df['topic']:
176
  df[topic] = 0
177
  for index, ebd_content in enumerate(df['Embeddings']):
 
171
 
172
 
173
  def match_categories(df, category_df, treshold=0.45):
174
+ categories_list, experts_list, topic_list, scores_list = [], [], [], []
175
  for topic in category_df['topic']:
176
  df[topic] = 0
177
  for index, ebd_content in enumerate(df['Embeddings']):