sergeipetrov commited on
Commit
034b0b6
1 Parent(s): 96b7249

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -37,4 +37,4 @@ class EndpointHandler:
37
  img.save(buffered, format="JPEG")
38
  img_str = base64.b64encode(buffered.getvalue())
39
 
40
- return img_str
 
37
  img.save(buffered, format="JPEG")
38
  img_str = base64.b64encode(buffered.getvalue())
39
 
40
+ return img_str.decode()