update:解决base类修改后测速工具兼容性问题

This commit is contained in:
FAN-yeB
2026-04-27 15:06:40 +08:00
parent 3510282cd5
commit a432c295d3
2 changed files with 17 additions and 1 deletions
@@ -68,7 +68,7 @@ class ASRPerformanceTester:
"""测试单个音频文件的性能"""
try:
start_time = time.time()
text, _ = await stt.speech_to_text([audio_data], "1", stt.audio_format)
text, _ = await stt.speech_to_text_wrapper([audio_data], "1", stt.audio_format)
if text is None:
return None