Update handler.py
Browse files- handler.py +3 -3
handler.py
CHANGED
|
@@ -73,9 +73,9 @@ class EndpointHandler:
|
|
| 73 |
"""
|
| 74 |
inputs = data.get("inputs", "")
|
| 75 |
method = data.get("method", "embed")
|
| 76 |
-
print("inputs: ")
|
| 77 |
-
print(inputs)
|
| 78 |
-
print(method)
|
| 79 |
|
| 80 |
if not inputs:
|
| 81 |
return {"error": "No input sequence provided"}
|
|
|
|
| 73 |
"""
|
| 74 |
inputs = data.get("inputs", "")
|
| 75 |
method = data.get("method", "embed")
|
| 76 |
+
print("inputs: ", flush=True)
|
| 77 |
+
print(inputs, flush=True)
|
| 78 |
+
print(method, flush=True)
|
| 79 |
|
| 80 |
if not inputs:
|
| 81 |
return {"error": "No input sequence provided"}
|