livekit-plugins-elevenlabs 0.7.11__py3-none-any.whl → 0.7.13__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.
@@ -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:
@@ -519,6 +520,8 @@ class SynthesizeStream(tts.SynthesizeStream):
519
520
  await asyncio.gather(*tasks)
520
521
  finally:
521
522
  await utils.aio.gracefully_cancel(*tasks)
523
+ if ws_conn is not None:
524
+ await ws_conn.close()
522
525
 
523
526
 
524
527
  def _dict_to_voices_list(data: dict[str, Any]):
@@ -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.11"
15
+ __version__ = "0.7.13"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: livekit-plugins-elevenlabs
3
- Version: 0.7.11
3
+ Version: 0.7.13
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=dFeEtnNYR0sIDjQZARvUb6cG3VUD4gUNU3hpbFGpyNo,19744
6
+ livekit/plugins/elevenlabs/version.py,sha256=ePihhrwb0N1YVz4mZBMdwgECen0up-RbS8yrvmQGHt4,601
7
+ livekit_plugins_elevenlabs-0.7.13.dist-info/METADATA,sha256=en67LviRFvRsErhZ5qvb8UvbmQc2nLcYSijszgdMj1Q,1523
8
+ livekit_plugins_elevenlabs-0.7.13.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
9
+ livekit_plugins_elevenlabs-0.7.13.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
10
+ livekit_plugins_elevenlabs-0.7.13.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=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,,