Skip to content

Commit

Permalink
Merge pull request #1079 from ecdeng/patch-1
Browse files Browse the repository at this point in the history
Update cartesia.py to use the new model pointer `sonic`
  • Loading branch information
markbackman authored Jan 24, 2025
2 parents d4e4b12 + 2c81dc1 commit e61c996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pipecat/services/cartesia.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(
voice_id: str,
cartesia_version: str = "2024-06-10",
url: str = "wss://api.cartesia.ai/tts/websocket",
model: str = "sonic-english",
model: str = "sonic",
sample_rate: int = 24000,
encoding: str = "pcm_s16le",
container: str = "raw",
Expand Down Expand Up @@ -329,7 +329,7 @@ def __init__(
*,
api_key: str,
voice_id: str,
model: str = "sonic-english",
model: str = "sonic",
base_url: str = "https://api.cartesia.ai",
sample_rate: int = 24000,
encoding: str = "pcm_s16le",
Expand Down

0 comments on commit e61c996

Please sign in to comment.