From b1e17ee34792326350c4040216bff69a50f3c4b8 Mon Sep 17 00:00:00 2001 From: mercuryyy Date: Tue, 24 Sep 2024 07:45:29 -0400 Subject: [PATCH] Fix syntax error in deepgram.py --- src/pipecat/services/deepgram.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pipecat/services/deepgram.py b/src/pipecat/services/deepgram.py index fab12e080..914bc2ec2 100644 --- a/src/pipecat/services/deepgram.py +++ b/src/pipecat/services/deepgram.py @@ -77,8 +77,7 @@ async def run_tts(self, text: str) -> AsyncGenerator[Frame, None]: logger.debug(f"Generating TTS: [{text}]") base_url = self._base_url - request_url = f"{base_url}?model={self._voice}&encoding={ - self._encoding}&container=none&sample_rate={self._sample_rate}" + request_url = f"{base_url}?model={self._voice}&encoding={self._encoding}&container=none&sample_rate={self._sample_rate}" headers = {"authorization": f"token {self._api_key}"} body = {"text": text}