livekit-plugins-elevenlabs 0.7.9__py3-none-any.whl → 0.7.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- livekit/plugins/elevenlabs/models.py +2 -0
- livekit/plugins/elevenlabs/tts.py +7 -3
- livekit/plugins/elevenlabs/version.py +1 -1
- {livekit_plugins_elevenlabs-0.7.9.dist-info → livekit_plugins_elevenlabs-0.7.11.dist-info}/METADATA +13 -3
- livekit_plugins_elevenlabs-0.7.11.dist-info/RECORD +10 -0
- {livekit_plugins_elevenlabs-0.7.9.dist-info → livekit_plugins_elevenlabs-0.7.11.dist-info}/WHEEL +1 -1
- livekit_plugins_elevenlabs-0.7.9.dist-info/RECORD +0 -10
- {livekit_plugins_elevenlabs-0.7.9.dist-info → livekit_plugins_elevenlabs-0.7.11.dist-info}/top_level.txt +0 -0
@@ -104,7 +104,7 @@ class TTS(tts.TTS):
|
|
104
104
|
self,
|
105
105
|
*,
|
106
106
|
voice: Voice = DEFAULT_VOICE,
|
107
|
-
model: TTSModels | str = "
|
107
|
+
model: TTSModels | str = "eleven_flash_v2_5",
|
108
108
|
api_key: str | None = None,
|
109
109
|
base_url: str | None = None,
|
110
110
|
encoding: TTSEncoding = "mp3_22050_32",
|
@@ -189,14 +189,17 @@ class TTS(tts.TTS):
|
|
189
189
|
*,
|
190
190
|
voice: Voice = DEFAULT_VOICE,
|
191
191
|
model: TTSModels | str = "eleven_turbo_v2_5",
|
192
|
+
language: str | None = None,
|
192
193
|
) -> None:
|
193
194
|
"""
|
194
195
|
Args:
|
195
196
|
voice (Voice): Voice configuration. Defaults to `DEFAULT_VOICE`.
|
196
197
|
model (TTSModels | str): TTS model to use. Defaults to "eleven_turbo_v2_5".
|
198
|
+
language (str | None): Language code for the TTS model. Optional.
|
197
199
|
"""
|
198
200
|
self._opts.model = model or self._opts.model
|
199
201
|
self._opts.voice = voice or self._opts.voice
|
202
|
+
self._opts.language = language or self._opts.language
|
200
203
|
|
201
204
|
def synthesize(
|
202
205
|
self,
|
@@ -469,8 +472,9 @@ class SynthesizeStream(tts.SynthesizeStream):
|
|
469
472
|
aiohttp.WSMsgType.CLOSING,
|
470
473
|
):
|
471
474
|
if not eos_sent:
|
472
|
-
raise
|
473
|
-
"11labs connection closed unexpectedly, not all tokens have been consumed"
|
475
|
+
raise APIStatusError(
|
476
|
+
"11labs connection closed unexpectedly, not all tokens have been consumed",
|
477
|
+
request_id=request_id,
|
474
478
|
)
|
475
479
|
return
|
476
480
|
|
{livekit_plugins_elevenlabs-0.7.9.dist-info → livekit_plugins_elevenlabs-0.7.11.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: livekit-plugins-elevenlabs
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.11
|
4
4
|
Summary: Agent Framework plugin for voice synthesis with ElevenLabs' API.
|
5
5
|
Home-page: https://github.com/livekit/agents
|
6
6
|
License: Apache-2.0
|
@@ -19,7 +19,17 @@ Classifier: Programming Language :: Python :: 3.10
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
20
20
|
Requires-Python: >=3.9.0
|
21
21
|
Description-Content-Type: text/markdown
|
22
|
-
Requires-Dist: livekit-agents[codecs]>=0.
|
22
|
+
Requires-Dist: livekit-agents[codecs]>=0.12.3
|
23
|
+
Dynamic: classifier
|
24
|
+
Dynamic: description
|
25
|
+
Dynamic: description-content-type
|
26
|
+
Dynamic: home-page
|
27
|
+
Dynamic: keywords
|
28
|
+
Dynamic: license
|
29
|
+
Dynamic: project-url
|
30
|
+
Dynamic: requires-dist
|
31
|
+
Dynamic: requires-python
|
32
|
+
Dynamic: summary
|
23
33
|
|
24
34
|
# LiveKit Plugins Elevenlabs
|
25
35
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
livekit/plugins/elevenlabs/__init__.py,sha256=YZVadomFq3JWiZN6GWXJbuE4vaNNWq1CmdH25du8qwg,1249
|
2
|
+
livekit/plugins/elevenlabs/log.py,sha256=hIuXqDsEB5GBa7rQY3z4Uqi1oCqc_lRmCHZEmXz0LHw,73
|
3
|
+
livekit/plugins/elevenlabs/models.py,sha256=cVoaMYNlUXZzP-HOpbtU16OM9m-bACnSat8-o87tTyk,435
|
4
|
+
livekit/plugins/elevenlabs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
+
livekit/plugins/elevenlabs/tts.py,sha256=GN-0bigWs6aQ7gSreWLC0q1NHR3LMbtGr5h2eJp9y60,19633
|
6
|
+
livekit/plugins/elevenlabs/version.py,sha256=AQ7X2GxIx5sk0WruJVjFjMMXvrNKhWAK3KD1s4aOgNk,601
|
7
|
+
livekit_plugins_elevenlabs-0.7.11.dist-info/METADATA,sha256=Y4Tr9XzEkD9Me6gs0AyhsbQrSzSOUiQkMzDbQE-UOtA,1522
|
8
|
+
livekit_plugins_elevenlabs-0.7.11.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
9
|
+
livekit_plugins_elevenlabs-0.7.11.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
|
10
|
+
livekit_plugins_elevenlabs-0.7.11.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
livekit/plugins/elevenlabs/__init__.py,sha256=YZVadomFq3JWiZN6GWXJbuE4vaNNWq1CmdH25du8qwg,1249
|
2
|
-
livekit/plugins/elevenlabs/log.py,sha256=hIuXqDsEB5GBa7rQY3z4Uqi1oCqc_lRmCHZEmXz0LHw,73
|
3
|
-
livekit/plugins/elevenlabs/models.py,sha256=ddBUlDT4707f64WDJASR0B60X0yQ-LRHK1ZpTuBJXK8,387
|
4
|
-
livekit/plugins/elevenlabs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
-
livekit/plugins/elevenlabs/tts.py,sha256=ZiBgBjHpTXQmvZ2QWV-P2lqfG8kqRzaTZI7DHqrx-sk,19399
|
6
|
-
livekit/plugins/elevenlabs/version.py,sha256=Y-buDizIIkRMlhoxXYRvGcLWsb-FeH9R4TA8h7gN-vQ,600
|
7
|
-
livekit_plugins_elevenlabs-0.7.9.dist-info/METADATA,sha256=YnE6bivP8gz9ONqCzmD64hprpV26iuLJRBNVG005lB8,1304
|
8
|
-
livekit_plugins_elevenlabs-0.7.9.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
9
|
-
livekit_plugins_elevenlabs-0.7.9.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
|
10
|
-
livekit_plugins_elevenlabs-0.7.9.dist-info/RECORD,,
|
File without changes
|