Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -47,7 +47,7 @@ class EndpointHandler:
|
|
| 47 |
}
|
| 48 |
|
| 49 |
# print(f"Generating with parameters: {gen_kwargs}")
|
| 50 |
-
|
| 51 |
|
| 52 |
# StarCoder2 tokenization
|
| 53 |
inputs = inputs.strip()
|
|
|
|
| 47 |
}
|
| 48 |
|
| 49 |
# print(f"Generating with parameters: {gen_kwargs}")
|
| 50 |
+
print(f"Prompt length: {len(prompt)} | Gen params: {gen_kwargs}")
|
| 51 |
|
| 52 |
# StarCoder2 tokenization
|
| 53 |
inputs = inputs.strip()
|