优化双流式TTS时的声音

This commit is contained in:
hrz
2025-05-27 18:51:08 +08:00
parent 4260e5a1a7
commit 8d2ba39ab8
5 changed files with 63 additions and 38 deletions
@@ -16,6 +16,13 @@ class ContentType(Enum):
ACTION = "ACTION" # 动作内容
class InterfaceType(Enum):
# 接口类型
DUAL_STREAM = "DUAL_STREAM" # 双流式
SINGLE_STREAM = "SINGLE_STREAM" # 单流式
NON_STREAM = "NON_STREAM" # 非流式
class TTSMessageDTO:
def __init__(
self,