fix:修正warn为warning

This commit is contained in:
hrz
2025-05-14 10:40:40 +08:00
parent dab1f14a59
commit f6f7879d6e
4 changed files with 65 additions and 41 deletions
@@ -55,7 +55,7 @@ class ASRProvider(ASRProviderBase):
) -> Tuple[Optional[str], Optional[str]]:
"""将语音数据转换为文本"""
if not opus_data:
logger.bind(tag=TAG).warn("音频数据为空!")
logger.bind(tag=TAG).warning("音频数据为空!")
return None, None
file_path = None