Update handler.py
Browse files- 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):
|