Merge pull request #1752 from pipecat-ai/mb/deepgram-tts-aura-2

Update Deepgram TTS default voice to Aura 2 voice
This commit is contained in:
Mark Backman
2025-05-06 16:26:26 -04:00
committed by GitHub
4 changed files with 7 additions and 3 deletions

View File

@@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added support to `RimeHttpTTSService` for the `arcana` model.
### Changed
- Updated the default voice for `DeepgramTTSService` to `aura-2-helena-en`.
### Fixed
- Fixed a `PipelineTask` issue that would cause tasks to not be cancelled if

View File

@@ -47,7 +47,7 @@ async def run_bot(webrtc_connection: SmallWebRTCConnection, _: argparse.Namespac
live_options=LiveOptions(vad_events=True, utterance_end_ms="1000"),
)
tts = DeepgramTTSService(api_key=os.getenv("DEEPGRAM_API_KEY"), voice="aura-helios-en")
tts = DeepgramTTSService(api_key=os.getenv("DEEPGRAM_API_KEY"), voice="aura-2-andromeda-en")
llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY"))

View File

@@ -39,7 +39,7 @@ async def run_bot(webrtc_connection: SmallWebRTCConnection, _: argparse.Namespac
stt = DeepgramSTTService(api_key=os.getenv("DEEPGRAM_API_KEY"))
tts = DeepgramTTSService(api_key=os.getenv("DEEPGRAM_API_KEY"), voice="aura-helios-en")
tts = DeepgramTTSService(api_key=os.getenv("DEEPGRAM_API_KEY"), voice="aura-2-andromeda-en")
llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY"))

View File

@@ -30,7 +30,7 @@ class DeepgramTTSService(TTSService):
self,
*,
api_key: str,
voice: str = "aura-helios-en",
voice: str = "aura-2-helena-en",
base_url: str = "",
sample_rate: Optional[int] = None,
encoding: str = "linear16",