Skip to content

Commit 4ba7890

Browse files
author
jiangtao
committed
add print log
1 parent 5bf7a70 commit 4ba7890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/utils/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def write_json_file(file_path, data):
3737
def is_segment(tokens, start):
3838
if tokens[-1] in (",", ".", "?", ",", "。", "?", "!", "!", ";", ";", ":", ":"):
3939
return True
40-
elif tokens[-1] in (" ") and len("".join(response_message[start:])) > 10:
40+
elif tokens[-1] in (" ") and len("".join(tokens[start:])) > 10:
4141
return True
4242
else:
4343
return False

0 commit comments

Comments
 (0)