Skip to content

Commit 688e026

Browse files
authored
update groq tts models, voices, and defaults (#4422)
1 parent fcabf3b commit 688e026

File tree

2 files changed

+16
-29
lines changed

2 files changed

+16
-29
lines changed

livekit-plugins/livekit-plugins-groq/livekit/plugins/groq/models.py

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,34 +24,21 @@
2424
]
2525

2626
TTSModels = Literal[
27-
"playai-tts",
28-
"playai-tts-arabic",
27+
"canopylabs/orpheus-v1-english",
28+
"canopylabs/orpheus-arabic-saudi",
2929
]
3030

3131
TTSVoices = Literal[
3232
# english voices
33-
"Arista-PlayAI",
34-
"Atlas-PlayAI",
35-
"Basil-PlayAI",
36-
"Briggs-PlayAI",
37-
"Calum-PlayAI",
38-
"Celeste-PlayAI",
39-
"Cheyenne-PlayAI",
40-
"Chip-PlayAI",
41-
"Cillian-PlayAI",
42-
"Deedee-PlayAI",
43-
"Fritz-PlayAI",
44-
"Gail-PlayAI",
45-
"Indigo-PlayAI",
46-
"Mamaw-PlayAI",
47-
"Mason-PlayAI",
48-
"Mikail-PlayAI",
49-
"Mitch-PlayAI",
50-
"Quinn-PlayAI",
51-
"Thunder-PlayAI",
33+
"autumn",
34+
"diana",
35+
"hannah",
36+
"austin",
37+
"daniel",
38+
"troy",
5239
# arabic voices
53-
"Nasser-PlayAI",
54-
"Khalid-PlayAI",
55-
"Amira-PlayAI",
56-
"Ahmad-PlayAI",
40+
"fahad",
41+
"sultan",
42+
"lulwa",
43+
"noura",
5744
]

livekit-plugins/livekit-plugins-groq/livekit/plugins/groq/tts.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def __init__(
5656
self,
5757
*,
5858
base_url: NotGivenOr[str] = NOT_GIVEN,
59-
model: TTSModels | str = "playai-tts",
60-
voice: TTSVoices | str = "Arista-PlayAI",
59+
model: TTSModels | str = "canopylabs/orpheus-v1-english",
60+
voice: TTSVoices | str = "autumn",
6161
api_key: NotGivenOr[str] = NOT_GIVEN,
6262
http_session: aiohttp.ClientSession | None = None,
6363
) -> None:
@@ -68,8 +68,8 @@ def __init__(
6868
environmental variable.
6969
7070
Args:
71-
model (SpeechModels | str, optional): Model to use. Default is "playai-tts".
72-
voice (SpeechVoices | str, optional): Voice to use. Default is "Autumn-PlayAI".
71+
model (SpeechModels | str, optional): Model to use. Default is "canopylabs/orpheus-v1-english".
72+
voice (SpeechVoices | str, optional): Voice to use. Default is "autumn".
7373
api_key (str | None, optional): API key to use. Default is None.
7474
"""
7575

0 commit comments

Comments
 (0)