mcordier95 commited on
Commit
9f72b3f
1 Parent(s): f9fb547

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -30,7 +30,7 @@ class EndpointHandler():
30
  }
31
  """
32
  print("4")
33
- text = self.processor.apply_chat_template(data["inputs"]["messages"], add_generation_prompt=True)
34
  print("5")
35
  images = [self.decode_image_base64(img) for img in data["inputs"]["images"]]
36
  print("6")
 
30
  }
31
  """
32
  print("4")
33
+ text = self.processor.apply_chat_template(data["inputs"]["messages"], add_generation_prompt=False)
34
  print("5")
35
  images = [self.decode_image_base64(img) for img in data["inputs"]["images"]]
36
  print("6")