diff --git a/utils/audio_handle/my_tts.py b/utils/audio_handle/my_tts.py index b416e110..b81e50b3 100644 --- a/utils/audio_handle/my_tts.py +++ b/utils/audio_handle/my_tts.py @@ -1166,7 +1166,7 @@ async def chattts_api(self, data): } try: - return await self.download_audio("ChatTTS", data["api_ip_port"], self.timeout, "get", params) + return await self.download_audio("ChatTTS", data["api_ip_port"], self.timeout, "post", json_data=params) except aiohttp.ClientError as e: logging.error(traceback.format_exc()) logging.error(f'ChatTTS请求失败: {e}')