Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions backend/apps/common/eleven_labs.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ def __init__(
model_id: str = "eleven_multilingual_v2",
output_format: str = "mp3_44100_128",
similarity_boost: float = 0.75,
speed: float = 1.0,
speed: float = 0.85,
stability: float = 0.5,
style: float = 0.0,
voice_id: str = "1SM7GgM6IMuvQlz2BwM3", # cspell:disable-line
voice_id: str = "TX3LPaxmHKxFdv7VOQHJ", # Liam # cspell:disable-line
*,
use_speaker_boost: bool = True,
) -> None:
Expand All @@ -36,7 +36,7 @@ def __init__(
model_id (str): The model to use.
output_format (str): Audio output format.
similarity_boost (float): Voice consistency (0.0-1.0).
speed (float): Speech speed (0.25-4.0, default 1.0).
speed (float): Speech speed (0.25-4.0).
stability (float): Voice stability (0.0-1.0).
style (float): Style exaggeration (0.0-1.0).
use_speaker_boost (bool): Enable speaker clarity boost.
Expand Down
4 changes: 2 additions & 2 deletions backend/tests/apps/common/eleven_labs_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
DEFAULT_MODEL_ID = "eleven_multilingual_v2"
DEFAULT_OUTPUT_FORMAT = "mp3_44100_128"
DEFAULT_SIMILARITY_BOOST = 0.75
DEFAULT_SPEED = 1.0
DEFAULT_SPEED = 0.85
DEFAULT_STABILITY = 0.5
DEFAULT_STYLE = 0.0
DEFAULT_TIMEOUT = 30
DEFAULT_USE_SPEAKER_BOOST = True
DEFAULT_VOICE_ID = "1SM7GgM6IMuvQlz2BwM3" # cspell:disable-line
DEFAULT_VOICE_ID = "TX3LPaxmHKxFdv7VOQHJ" # cspell:disable-line


class TestElevenLabs:
Expand Down