viethoangtranduong
commited on
Commit
•
420340a
1
Parent(s):
1064276
Update handler.py
Browse files- handler.py +0 -1
handler.py
CHANGED
@@ -132,7 +132,6 @@ class EndpointHandler():
|
|
132 |
preset_truncation_token_value = parameters["preset_truncation_token"]
|
133 |
DELIMETER = " "
|
134 |
prompts = [DELIMETER.join(prompt.split(DELIMETER)[:preset_truncation_token_value]) for prompt in prompts]
|
135 |
-
print("45", prompts)
|
136 |
del parameters["preset_truncation_token"]
|
137 |
|
138 |
with torch.no_grad():
|
|
|
132 |
preset_truncation_token_value = parameters["preset_truncation_token"]
|
133 |
DELIMETER = " "
|
134 |
prompts = [DELIMETER.join(prompt.split(DELIMETER)[:preset_truncation_token_value]) for prompt in prompts]
|
|
|
135 |
del parameters["preset_truncation_token"]
|
136 |
|
137 |
with torch.no_grad():
|