mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
parent
2d01812f8d
commit
d62f0375ef
1 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ def remove_punctuation_and_length(text):
|
|||
char not in full_width_punctuations and char not in half_width_punctuations and char not in space and char not in full_width_space])
|
||||
|
||||
if result == "Yeah":
|
||||
return 0
|
||||
return 0, result
|
||||
return len(result), result
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue