diff --git a/demohouse/chat2cartoon/backend/app/clients/tts.py b/demohouse/chat2cartoon/backend/app/clients/tts.py index 50fd3e80..432c8280 100644 --- a/demohouse/chat2cartoon/backend/app/clients/tts.py +++ b/demohouse/chat2cartoon/backend/app/clients/tts.py @@ -271,7 +271,7 @@ async def start_connection( ): headers = self.build_http_header(self.conn_id, self.log_id) INFO("with logID: %s , header: %s", self.log_id, headers) - self.conn = await websockets.connect(TTS_BASE_URL, additional_headers=headers) + self.conn = await websockets.connect(TTS_BASE_URL, extra_headers=headers) self.params = params INFO("Dial server with LogID: %s", self.log_id) # Create a new message with type MsgTypeFullClient and flag MsgTypeFlagWithEvent