Skip to content

Commit

Permalink
Update the Tavus example and comment about using the PERSONA_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
markbackman committed Jan 10, 2025
1 parent b9db53d commit cb22de0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion examples/foundational/21-tavus-layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ async def main():
tavus = TavusVideoService(
api_key=os.getenv("TAVUS_API_KEY"),
replica_id=os.getenv("TAVUS_REPLICA_ID"),
persona_id=os.getenv("TAVUS_PERSONA_ID", "pipecat0"),
session=session,
)

Expand Down
2 changes: 1 addition & 1 deletion src/pipecat/services/tavus.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(
*,
api_key: str,
replica_id: str,
persona_id: str = "pipecat0",
persona_id: str = "pipecat0", # Use `pipecat0` so that your TTS voice is used in place of the Tavus persona
session: aiohttp.ClientSession,
**kwargs,
) -> None:
Expand Down

0 comments on commit cb22de0

Please sign in to comment.