Commit
•
b0b2ca0
1
Parent(s):
9c0d417
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -50,4 +50,4 @@ class EndpointHandler():
|
|
50 |
else:
|
51 |
result = self.pipeline(inputs, return_timestamps=True, generate_kwargs={"task": "translate"})
|
52 |
# postprocess the prediction
|
53 |
-
return
|
|
|
50 |
else:
|
51 |
result = self.pipeline(inputs, return_timestamps=True, generate_kwargs={"task": "translate"})
|
52 |
# postprocess the prediction
|
53 |
+
return result
|