Commit ·
33324d6
1
Parent(s): 87d4dc9
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -683,7 +683,7 @@ class EndpointHandler():
|
|
| 683 |
image = Image.open(BytesIO(base64.b64decode(inputs['image'])))
|
| 684 |
|
| 685 |
# forward pass
|
| 686 |
-
output_image = self.model.predict(image)
|
| 687 |
|
| 688 |
# base64 encode output
|
| 689 |
buffered = BytesIO()
|
|
|
|
| 683 |
image = Image.open(BytesIO(base64.b64decode(inputs['image'])))
|
| 684 |
|
| 685 |
# forward pass
|
| 686 |
+
output_image = self.model.predict([image])
|
| 687 |
|
| 688 |
# base64 encode output
|
| 689 |
buffered = BytesIO()
|