asoderznik
commited on
Commit
•
d188461
1
Parent(s):
ba24c0a
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -54,5 +54,5 @@ class EndpointHandler():
|
|
54 |
img_str = base64.b64encode(buffered.getvalue())
|
55 |
|
56 |
# postprocess the prediction
|
57 |
-
return {"image": img_str}
|
58 |
#return {"image": "test"}
|
|
|
54 |
img_str = base64.b64encode(buffered.getvalue())
|
55 |
|
56 |
# postprocess the prediction
|
57 |
+
return {"image": img_str.decode()}
|
58 |
#return {"image": "test"}
|