ChirathD commited on
Commit
8615120
1 Parent(s): d149168

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -61,4 +61,4 @@ class EndpointHandler():
61
  # )
62
  # captions = self.processor.batch_decode(out, skip_special_tokens=True)
63
 
64
- return {"captions": captions}
 
61
  # )
62
  # captions = self.processor.batch_decode(out, skip_special_tokens=True)
63
 
64
+ return {"captions": generated_caption}