Update handler.py
Browse files- 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":
|
|
|
61 |
# )
|
62 |
# captions = self.processor.batch_decode(out, skip_special_tokens=True)
|
63 |
|
64 |
+
return {"captions": generated_caption}
|