aayushgs commited on
Commit
f322bda
1 Parent(s): 2d892dd

slight changes

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -26,7 +26,7 @@ class EndpointHandler:
26
  if not encoded_images:
27
  return {"captions": [], "error": "No images provided"}
28
 
29
- texts = input_data.get("texts", ["a photography of"] * len(encoded_images))
30
 
31
  try:
32
  raw_images = [
 
26
  if not encoded_images:
27
  return {"captions": [], "error": "No images provided"}
28
 
29
+ texts = input_data.get("texts", [""] * len(encoded_images))
30
 
31
  try:
32
  raw_images = [