Mirza Učanbarlić
commited on
Commit
·
5373874
1
Parent(s):
f0884e6
fix encoding
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -36,4 +36,4 @@ class EndpointHandler():
|
|
| 36 |
img_str = base64.b64encode(buffered.getvalue())
|
| 37 |
|
| 38 |
# postprocess the prediction
|
| 39 |
-
return {"image": img_str
|
|
|
|
| 36 |
img_str = base64.b64encode(buffered.getvalue())
|
| 37 |
|
| 38 |
# postprocess the prediction
|
| 39 |
+
return {"image": img_str}
|