Upload handler.py with huggingface_hub
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -44,4 +44,4 @@ class EndpointHandler:
|
|
44 |
img_str = b64encode(buffered.getvalue())
|
45 |
|
46 |
# postprocess the prediction
|
47 |
-
return {"image": img_str.decode()}
|
|
|
44 |
img_str = b64encode(buffered.getvalue())
|
45 |
|
46 |
# postprocess the prediction
|
47 |
+
return {"image": img_str.decode()}
|