mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-28 20:43:51 +08:00
fix: stt中 test_count 计算逻辑错误
This commit is contained in:
@@ -145,7 +145,7 @@ class AsyncPerformanceTester:
|
|||||||
return {"name": stt_name, "type": "stt", "errors": 1}
|
return {"name": stt_name, "type": "stt", "errors": 1}
|
||||||
|
|
||||||
total_time = 0
|
total_time = 0
|
||||||
test_count = len(self.test_sentences[:2])
|
test_count = len(self.test_wav_list)
|
||||||
|
|
||||||
for i, sentence in enumerate(self.test_wav_list, 1):
|
for i, sentence in enumerate(self.test_wav_list, 1):
|
||||||
start = time.time()
|
start = time.time()
|
||||||
|
|||||||
Reference in New Issue
Block a user