spellingdragon commited on
Commit
b0b2ca0
1 Parent(s): 9c0d417

Update handler.py

Browse files
Files changed (1) hide show
  1. 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 {"chunks": result["chunks"]}
 
50
  else:
51
  result = self.pipeline(inputs, return_timestamps=True, generate_kwargs={"task": "translate"})
52
  # postprocess the prediction
53
+ return result