mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
性能测试跳过未配置的Linkerai语音合成
配置里没有这个供应器时整项跳过,不再报一条测试失败。
This commit is contained in:
parent
a377d89dcd
commit
ba4f9b374e
1 changed files with 3 additions and 2 deletions
|
|
@ -647,8 +647,9 @@ class StreamTTSPerformanceTester:
|
|||
self.results.append(result)
|
||||
|
||||
# 测试Linkerai TTS
|
||||
result = await self.test_linkerai_tts(test_text, test_count)
|
||||
self.results.append(result)
|
||||
if self.config.get("TTS", {}).get("LinkeraiTTS"):
|
||||
result = await self.test_linkerai_tts(test_text, test_count)
|
||||
self.results.append(result)
|
||||
|
||||
# 测试IndexStreamTTS
|
||||
result = await self.test_indexstream_tts(test_text, test_count)
|
||||
|
|
|
|||
Loading…
Reference in a new issue