yzha commited on
Commit
db65786
·
1 Parent(s): 18c3b95
Files changed (1) hide show
  1. ctc_eval.py +1 -1
ctc_eval.py CHANGED
@@ -101,7 +101,7 @@ class CTC_Eval(evaluate.EvaluationModule):
101
  self.config_name = 'D-cnndm,consistency'
102
 
103
  model_name, self.aspect = self.config_name.split(',')
104
- if self.aspect in ['consistency, relevance']:
105
  self.scorer = SummarizationScorer(align=model_name)
106
  elif self.aspect in ['preservation']:
107
  self.scorer = StyleTransferScorer(align=model_name)
 
101
  self.config_name = 'D-cnndm,consistency'
102
 
103
  model_name, self.aspect = self.config_name.split(',')
104
+ if self.aspect in ['consistency', 'relevance']:
105
  self.scorer = SummarizationScorer(align=model_name)
106
  elif self.aspect in ['preservation']:
107
  self.scorer = StyleTransferScorer(align=model_name)