justin-shopcapsule commited on
Commit
33324d6
·
1 Parent(s): 87d4dc9

Update handler.py

Browse files
Files changed (1) hide show
  1. 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()