Commit ·
13b296f
1
Parent(s): 890c749
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -20,4 +20,4 @@ class EndpointHandler():
|
|
| 20 |
print(type(image))
|
| 21 |
img_data = image.tobytes()
|
| 22 |
img_base64 = base64.b64encode(img_data).decode('utf-8')
|
| 23 |
-
return
|
|
|
|
| 20 |
print(type(image))
|
| 21 |
img_data = image.tobytes()
|
| 22 |
img_base64 = base64.b64encode(img_data).decode('utf-8')
|
| 23 |
+
return {'image':img_base64}
|