update: 增加TTS音色语种选择

This commit is contained in:
Sakura-RanChen
2026-02-09 15:28:31 +08:00
parent 520e24a54e
commit 4ea3bea85c
21 changed files with 220 additions and 61 deletions
@@ -67,11 +67,6 @@ async def startToChat(conn: "ConnectionHandler", text):
conn.current_speaker = speaker_name
else:
conn.current_speaker = None
# 保存语种信息到连接对象
if language_tag:
conn.current_language_tag = language_tag
else:
conn.current_language_tag = "zh"
if conn.need_bind:
await check_bind_device(conn)