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
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
from .log import logger

SUPPORTED_SAMPLE_RATE = 48000
DEFAULT_VOICE_ID = "4SZHfMpw-p46Ywgs"
# Catalog voice "Everly" (en-us), used when neither `voice` nor `voice_id` is given.
DEFAULT_VOICE_ID = "vjFyp2BcCyTlUmYb"


@dataclass
Expand Down
2 changes: 2 additions & 0 deletions tests/test_plugin_gradium_tts_voice.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ def test_default_voice_id_when_neither_is_given():

tts = TTS(api_key="test-key")
assert tts._opts.voice_id == DEFAULT_VOICE_ID
# pinned on purpose: the default speaker is user-visible behaviour
assert DEFAULT_VOICE_ID == "vjFyp2BcCyTlUmYb"
assert tts._opts.voice is None


Expand Down
Loading