Fix syntax error in deepgram.py
This commit is contained in:
@@ -77,8 +77,7 @@ class DeepgramTTSService(TTSService):
|
|||||||
logger.debug(f"Generating TTS: [{text}]")
|
logger.debug(f"Generating TTS: [{text}]")
|
||||||
|
|
||||||
base_url = self._base_url
|
base_url = self._base_url
|
||||||
request_url = f"{base_url}?model={self._voice}&encoding={
|
request_url = f"{base_url}?model={self._voice}&encoding={self._encoding}&container=none&sample_rate={self._sample_rate}"
|
||||||
self._encoding}&container=none&sample_rate={self._sample_rate}"
|
|
||||||
headers = {"authorization": f"token {self._api_key}"}
|
headers = {"authorization": f"token {self._api_key}"}
|
||||||
body = {"text": text}
|
body = {"text": text}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user