From 4c9824b16f41ae734f8684bcdd2bea1d58e7baff Mon Sep 17 00:00:00 2001 From: shiyin Date: Mon, 15 Sep 2025 09:46:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D-=E7=81=AB=E5=B1=B1=E5=8F=8C?= =?UTF-8?q?=E6=B5=81=E5=BC=8F=E8=AF=AD=E9=9F=B3=E5=90=88=E6=88=90-addition?= =?UTF-8?q?s=E5=8F=82=E6=95=B0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/providers/tts/huoshan_double_stream.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/main/xiaozhi-server/core/providers/tts/huoshan_double_stream.py b/main/xiaozhi-server/core/providers/tts/huoshan_double_stream.py index ff295581..84dcd984 100644 --- a/main/xiaozhi-server/core/providers/tts/huoshan_double_stream.py +++ b/main/xiaozhi-server/core/providers/tts/huoshan_double_stream.py @@ -616,12 +616,13 @@ class TTSProvider(TTSProviderBase): "speech_rate": self.speech_rate, "loudness_rate": self.loudness_rate }, + "additions": json.dumps({ + "post_process": { + "pitch": self.pitch + } + }) }, - "additions": { - "post_process": { - "pitch": self.pitch - } - } + } ) )