saassa commited on
Commit
fdacaf1
1 Parent(s): cf6c6b4

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -132,7 +132,7 @@ class EndpointHandler():
132
 
133
  # generator=self.generator COMMENTED from self.pipe
134
  # return the first generated PIL image
135
- return out.images
136
 
137
  # helper to decode input image
138
  def decode_base64_image(self, image_string):
 
132
 
133
  # generator=self.generator COMMENTED from self.pipe
134
  # return the first generated PIL image
135
+ return out.images[0]
136
 
137
  # helper to decode input image
138
  def decode_base64_image(self, image_string):