mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-30 05:13:59 +08:00
update:解决base类修改后测速工具兼容性问题
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user