viethoangtranduong commited on
Commit
724f127
1 Parent(s): e469613

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -37,4 +37,4 @@ class EndpointHandler():
37
  )
38
  output_strs = self.tokenizer.batch_decode(outputs, skip_special_tokens=True)
39
 
40
- return output_strs
 
37
  )
38
  output_strs = self.tokenizer.batch_decode(outputs, skip_special_tokens=True)
39
 
40
+ return {"generated_text": output_strs}