leavoigt commited on
Commit
a3014e0
1 Parent(s): 86c29fa

Update utils/target_classifier.py

Browse files
Files changed (1) hide show
  1. utils/target_classifier.py +2 -2
utils/target_classifier.py CHANGED
@@ -11,8 +11,8 @@ from transformers import pipeline
11
 
12
  ## Labels dictionary ###
13
  label_dict = {
14
- '0':'NO',
15
- '1':'YES',
16
  }
17
 
18
  def get_target_labels(preds):
 
11
 
12
  ## Labels dictionary ###
13
  label_dict = {
14
+ 0:'NO',
15
+ 1:'YES',
16
  }
17
 
18
  def get_target_labels(preds):