Update handler.py
Browse files- handler.py +0 -7
handler.py
CHANGED
|
@@ -74,12 +74,5 @@ class EndpointHandler():
|
|
| 74 |
|
| 75 |
unconditional_context_b64 = base64.b64encode(unconditional_context.numpy().tobytes())
|
| 76 |
unconditional_context_b64str = unconditional_context_b64.decode()
|
| 77 |
-
|
| 78 |
-
print("1")
|
| 79 |
-
print(context_b64)
|
| 80 |
-
logging.info("2")
|
| 81 |
-
logging.info(context_b64)
|
| 82 |
-
logging.warning("3")
|
| 83 |
-
logging.warning(context_b64)
|
| 84 |
|
| 85 |
return {"context_b64str": context_b64str, "unconditional_context_b64str": unconditional_context_b64str}
|
|
|
|
| 74 |
|
| 75 |
unconditional_context_b64 = base64.b64encode(unconditional_context.numpy().tobytes())
|
| 76 |
unconditional_context_b64str = unconditional_context_b64.decode()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
return {"context_b64str": context_b64str, "unconditional_context_b64str": unconditional_context_b64str}
|