Update sentpipeline.py
Browse files- sentpipeline.py +1 -1
sentpipeline.py
CHANGED
@@ -14,7 +14,7 @@ class SentimentModelPipe(Pipeline):
|
|
14 |
return self.smodel.encode(inputs, convert_to_tensor=True)
|
15 |
|
16 |
def postprocess(self, outputs):
|
17 |
-
return outputs
|
18 |
|
19 |
def _forward(self, tensor):
|
20 |
with torch.no_grad():
|
|
|
14 |
return self.smodel.encode(inputs, convert_to_tensor=True)
|
15 |
|
16 |
def postprocess(self, outputs):
|
17 |
+
return outputs
|
18 |
|
19 |
def _forward(self, tensor):
|
20 |
with torch.no_grad():
|