livekit-plugins-elevenlabs 0.4.dev1__py3-none-any.whl → 0.4.dev2__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.
@@ -315,7 +315,7 @@ class SynthesizeStream(tts.SynthesizeStream):
315
315
  data = await data_rx.recv()
316
316
  data_pkt = dict(
317
317
  text=data,
318
- try_trigger_generation=False,
318
+ try_trigger_generation=True,
319
319
  )
320
320
  if data == SynthesizeStream._STREAM_EOS:
321
321
  closing_ws = True
@@ -350,7 +350,7 @@ class SynthesizeStream(tts.SynthesizeStream):
350
350
  data=b64data,
351
351
  sample_rate=self._opts.sample_rate,
352
352
  num_channels=1,
353
- samples_per_channel=len(data) // 2,
353
+ samples_per_channel=len(b64data) // 2,
354
354
  )
355
355
  self._event_queue.put_nowait(
356
356
  tts.SynthesisEvent(
@@ -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.4.dev1"
15
+ __version__ = "0.4.dev2"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: livekit-plugins-elevenlabs
3
- Version: 0.4.dev1
3
+ Version: 0.4.dev2
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
@@ -0,0 +1,10 @@
1
+ livekit/plugins/elevenlabs/__init__.py,sha256=_IMIfE4YA7d3NxrN-iCrdfQ19mwh93SY676RJGEA57c,989
2
+ livekit/plugins/elevenlabs/log.py,sha256=hIuXqDsEB5GBa7rQY3z4Uqi1oCqc_lRmCHZEmXz0LHw,73
3
+ livekit/plugins/elevenlabs/models.py,sha256=g46mCMMHP3x3qtHmybHHMcid1UwmjKCcF0T4IWjMjWE,163
4
+ livekit/plugins/elevenlabs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ livekit/plugins/elevenlabs/tts.py,sha256=NMlmq9lwtOmXrsilDFlnooILRl_eDD1wY7qMGQYrwYQ,12398
6
+ livekit/plugins/elevenlabs/version.py,sha256=7ECAuYd8NWEdqAQOS31si8_NKj2Tqs0ygy32XpL0Sbg,603
7
+ livekit_plugins_elevenlabs-0.4.dev2.dist-info/METADATA,sha256=pzXGnkkVlSwqCKz2crm_H_VXHtAbzu7cJQLQp1RRYz4,1365
8
+ livekit_plugins_elevenlabs-0.4.dev2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
9
+ livekit_plugins_elevenlabs-0.4.dev2.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
10
+ livekit_plugins_elevenlabs-0.4.dev2.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- livekit/plugins/elevenlabs/__init__.py,sha256=_IMIfE4YA7d3NxrN-iCrdfQ19mwh93SY676RJGEA57c,989
2
- livekit/plugins/elevenlabs/log.py,sha256=hIuXqDsEB5GBa7rQY3z4Uqi1oCqc_lRmCHZEmXz0LHw,73
3
- livekit/plugins/elevenlabs/models.py,sha256=g46mCMMHP3x3qtHmybHHMcid1UwmjKCcF0T4IWjMjWE,163
4
- livekit/plugins/elevenlabs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- livekit/plugins/elevenlabs/tts.py,sha256=5PO_KjUzIMnHPD_iRyotLqR7qMIjpJYqR52K8wdnzts,12396
6
- livekit/plugins/elevenlabs/version.py,sha256=aVtU3btnJkphqNZWTe3vkERuaW8-zZIFltfU6GWbC40,603
7
- livekit_plugins_elevenlabs-0.4.dev1.dist-info/METADATA,sha256=Cvmffq7O7TUMYfo-fxnpZIjTqbpxrA3hg0-gdmdlwkc,1365
8
- livekit_plugins_elevenlabs-0.4.dev1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
9
- livekit_plugins_elevenlabs-0.4.dev1.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
10
- livekit_plugins_elevenlabs-0.4.dev1.dist-info/RECORD,,