emanuelaboros commited on
Commit
3eacf71
·
1 Parent(s): 875b22c

a bit debug

Browse files
Files changed (1) hide show
  1. ocr_qa_assessment.py +2 -2
ocr_qa_assessment.py CHANGED
@@ -14,8 +14,8 @@ class QAAssessmentPipeline(Pipeline):
14
  return text
15
 
16
  def _forward(self, text, **kwargs):
17
- predictions, probabilities = self.model(text)
18
- return predictions, probabilities
19
 
20
  def postprocess(self, outputs, **kwargs):
21
  predictions = outputs
 
14
  return text
15
 
16
  def _forward(self, text, **kwargs):
17
+ predictions = self.model(text)
18
+ return predictions
19
 
20
  def postprocess(self, outputs, **kwargs):
21
  predictions = outputs