leavoigt commited on
Commit
73f34f0
1 Parent(s): 55c1b89

Update utils/target_classifier.py

Browse files
Files changed (1) hide show
  1. utils/target_classifier.py +1 -1
utils/target_classifier.py CHANGED
@@ -114,7 +114,7 @@ def target_classification(haystack_doc:pd.DataFrame,
114
  predictions = classifier_model(list(haystack_doc.text))
115
 
116
  # Get labels for predictions
117
- pred_labels = getlabels(predictions)
118
 
119
  # Save labels
120
  haystack_doc['Target Label'] = pred_labels
 
114
  predictions = classifier_model(list(haystack_doc.text))
115
 
116
  # Get labels for predictions
117
+ pred_labels = gettarget_labels(predictions)
118
 
119
  # Save labels
120
  haystack_doc['Target Label'] = pred_labels