Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -22,5 +22,5 @@ class EndpointHandler():
|
|
22 |
outputs = self.model(**inputs)
|
23 |
|
24 |
pooler_output = outputs.pooler_output
|
25 |
-
return pooler_output.tolist()
|
26 |
|
|
|
22 |
outputs = self.model(**inputs)
|
23 |
|
24 |
pooler_output = outputs.pooler_output
|
25 |
+
return pooler_output[0].tolist()
|
26 |
|