Commit
·
3eacf71
1
Parent(s):
875b22c
a bit debug
Browse files- 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
|
18 |
-
return predictions
|
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
|