livekit-plugins-cartesia 0.4.5__tar.gz → 0.4.6__tar.gz
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_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/PKG-INFO +13 -3
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit/plugins/cartesia/models.py +1 -1
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit/plugins/cartesia/tts.py +5 -2
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit/plugins/cartesia/version.py +1 -1
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit_plugins_cartesia.egg-info/PKG-INFO +13 -3
- livekit_plugins_cartesia-0.4.6/livekit_plugins_cartesia.egg-info/requires.txt +1 -0
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/setup.py +1 -1
- livekit_plugins_cartesia-0.4.5/livekit_plugins_cartesia.egg-info/requires.txt +0 -1
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/README.md +0 -0
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit/plugins/cartesia/__init__.py +0 -0
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit/plugins/cartesia/log.py +0 -0
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit/plugins/cartesia/py.typed +0 -0
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit_plugins_cartesia.egg-info/SOURCES.txt +0 -0
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit_plugins_cartesia.egg-info/dependency_links.txt +0 -0
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit_plugins_cartesia.egg-info/top_level.txt +0 -0
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/pyproject.toml +0 -0
- {livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: livekit-plugins-cartesia
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.6
|
4
4
|
Summary: LiveKit Agents Plugin for Cartesia
|
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>=0.
|
22
|
+
Requires-Dist: livekit-agents>=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 Cartesia
|
25
35
|
|
{livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit/plugins/cartesia/models.py
RENAMED
@@ -10,7 +10,7 @@ TTSEncoding = Literal[
|
|
10
10
|
|
11
11
|
TTSModels = Literal["sonic-english", "sonic-multilingual"]
|
12
12
|
TTSLanguages = Literal["en", "es", "fr", "de", "pt", "zh", "ja"]
|
13
|
-
TTSDefaultVoiceId = "
|
13
|
+
TTSDefaultVoiceId = "794f9389-aac1-45b6-b726-9d9369183238"
|
14
14
|
TTSVoiceSpeed = Literal["fastest", "fast", "normal", "slow", "slowest"]
|
15
15
|
TTSVoiceEmotion = Literal[
|
16
16
|
"anger:lowest",
|
{livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit/plugins/cartesia/tts.py
RENAMED
@@ -67,7 +67,7 @@ class TTS(tts.TTS):
|
|
67
67
|
def __init__(
|
68
68
|
self,
|
69
69
|
*,
|
70
|
-
model: TTSModels | str = "sonic
|
70
|
+
model: TTSModels | str = "sonic",
|
71
71
|
language: str = "en",
|
72
72
|
encoding: TTSEncoding = "pcm_s16le",
|
73
73
|
voice: str | list[float] = TTSDefaultVoiceId,
|
@@ -312,7 +312,10 @@ class SynthesizeStream(tts.SynthesizeStream):
|
|
312
312
|
aiohttp.WSMsgType.CLOSE,
|
313
313
|
aiohttp.WSMsgType.CLOSING,
|
314
314
|
):
|
315
|
-
raise
|
315
|
+
raise APIStatusError(
|
316
|
+
"Cartesia connection closed unexpectedly",
|
317
|
+
request_id=request_id,
|
318
|
+
)
|
316
319
|
|
317
320
|
if msg.type != aiohttp.WSMsgType.TEXT:
|
318
321
|
logger.warning("unexpected Cartesia message type %s", msg.type)
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: livekit-plugins-cartesia
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.6
|
4
4
|
Summary: LiveKit Agents Plugin for Cartesia
|
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>=0.
|
22
|
+
Requires-Dist: livekit-agents>=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 Cartesia
|
25
35
|
|
@@ -0,0 +1 @@
|
|
1
|
+
livekit-agents>=0.12.3
|
@@ -47,7 +47,7 @@ setuptools.setup(
|
|
47
47
|
license="Apache-2.0",
|
48
48
|
packages=setuptools.find_namespace_packages(include=["livekit.*"]),
|
49
49
|
python_requires=">=3.9.0",
|
50
|
-
install_requires=["livekit-agents>=0.
|
50
|
+
install_requires=["livekit-agents>=0.12.3"],
|
51
51
|
project_urls={
|
52
52
|
"Documentation": "https://docs.livekit.io",
|
53
53
|
"Website": "https://livekit.io/",
|
@@ -1 +0,0 @@
|
|
1
|
-
livekit-agents>=0.11
|
File without changes
|
File without changes
|
{livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit/plugins/cartesia/log.py
RENAMED
File without changes
|
{livekit_plugins_cartesia-0.4.5 → livekit_plugins_cartesia-0.4.6}/livekit/plugins/cartesia/py.typed
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|