fixed:ModuleNotFoundError: No module named 'opuslib' (#121)

Co-authored-by: hrz <1710360675@qq.com>
This commit is contained in:
欣南科技
2025-02-23 19:59:26 +08:00
committed by GitHub
co-authored by hrz
parent 2d01812f8d
commit 22ff7a92b8
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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, ""
return len(result), result
@@ -120,4 +120,4 @@ def check_password(password):
return False
# 如果满足所有条件,则返回True
return True
return True