mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-23 23:53:55 +08:00
fixed:ModuleNotFoundError: No module named 'opuslib' (#121)
Co-authored-by: hrz <1710360675@qq.com>
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user