livekit-plugins-elevenlabs 0.7.10__py3-none-any.whl → 0.7.12__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.
@@ -6,6 +6,8 @@ TTSModels = Literal[
6
6
  "eleven_multilingual_v2",
7
7
  "eleven_turbo_v2",
8
8
  "eleven_turbo_v2_5",
9
+ "eleven_flash_v2_5",
10
+ "eleven_flash_v2",
9
11
  ]
10
12
 
11
13
  TTSEncoding = Literal[
@@ -104,7 +104,7 @@ class TTS(tts.TTS):
104
104
  self,
105
105
  *,
106
106
  voice: Voice = DEFAULT_VOICE,
107
- model: TTSModels | str = "eleven_turbo_v2_5",
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",
@@ -431,6 +431,7 @@ class SynthesizeStream(tts.SynthesizeStream):
431
431
  text=f"{text} ", # must always end with a space
432
432
  try_trigger_generation=False,
433
433
  )
434
+ self._mark_started()
434
435
  await ws_conn.send_str(json.dumps(data_pkt))
435
436
 
436
437
  if xml_content:
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "0.7.10"
15
+ __version__ = "0.7.12"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: livekit-plugins-elevenlabs
3
- Version: 0.7.10
3
+ Version: 0.7.12
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,7 @@ 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.12.3
22
+ Requires-Dist: livekit-agents[codecs]>=0.12.11
23
23
  Dynamic: classifier
24
24
  Dynamic: description
25
25
  Dynamic: description-content-type
@@ -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=jZsn-5s2qLMmrYYGYabV7l3qX99mjtdsA7mYgcJqQcw,19670
6
+ livekit/plugins/elevenlabs/version.py,sha256=gGZFCPXFCJwzV7-seSYe-yQUCcH8Tyf19JtzUUCdylU,601
7
+ livekit_plugins_elevenlabs-0.7.12.dist-info/METADATA,sha256=FtC3EwKcOkiliplwxo_DmfnCexOCtseyAzzLKj3fk-I,1523
8
+ livekit_plugins_elevenlabs-0.7.12.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
9
+ livekit_plugins_elevenlabs-0.7.12.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
10
+ livekit_plugins_elevenlabs-0.7.12.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=--2jLJcuWu49VhnogsyCQa3rufA33i-J763HSnmWPeQ,19633
6
- livekit/plugins/elevenlabs/version.py,sha256=evm-fOLpHjdPwMzoYxCaNWj71Gwec6OKZFHBuyqYa-I,601
7
- livekit_plugins_elevenlabs-0.7.10.dist-info/METADATA,sha256=h6B9H1DdF0NXtQRm3jNxfeso8lJkrFwn0ZOyoC_8mVU,1522
8
- livekit_plugins_elevenlabs-0.7.10.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
9
- livekit_plugins_elevenlabs-0.7.10.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
10
- livekit_plugins_elevenlabs-0.7.10.dist-info/RECORD,,