Skip to content

Commit

Permalink
Merge pull request #499 from mercuryyy/main
Browse files Browse the repository at this point in the history
Fix syntax error in deepgram.py
  • Loading branch information
aconchillo authored Sep 24, 2024
2 parents c262b27 + b1e17ee commit 016da17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pipecat/services/deepgram.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 016da17

Please sign in to comment.