Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
@@ -16,7 +16,7 @@ def get_res(model_name, input_sentence, single_print=True):
|
|
16 |
out = tokenizer.encode(input_sentence, add_special_tokens=False)
|
17 |
token_num = len(out)
|
18 |
|
19 |
-
work_around =
|
20 |
if work_around:
|
21 |
w = []
|
22 |
pre = ""
|
|
|
16 |
out = tokenizer.encode(input_sentence, add_special_tokens=False)
|
17 |
token_num = len(out)
|
18 |
|
19 |
+
work_around = True
|
20 |
if work_around:
|
21 |
w = []
|
22 |
pre = ""
|