livekit-plugins-cartesia 1.1.3__tar.gz → 1.1.5__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-1.1.3 → livekit_plugins_cartesia-1.1.5}/PKG-INFO +2 -2
- {livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/tts.py +14 -0
- {livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/version.py +1 -1
- {livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/pyproject.toml +1 -1
- {livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/.gitignore +0 -0
- {livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/README.md +0 -0
- {livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/__init__.py +0 -0
- {livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/log.py +0 -0
- {livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/models.py +0 -0
- {livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/py.typed +0 -0
- {livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/stt.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: livekit-plugins-cartesia
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.5
|
4
4
|
Summary: LiveKit Agents Plugin for Cartesia
|
5
5
|
Project-URL: Documentation, https://docs.livekit.io
|
6
6
|
Project-URL: Website, https://livekit.io/
|
@@ -18,7 +18,7 @@ Classifier: Topic :: Multimedia :: Sound/Audio
|
|
18
18
|
Classifier: Topic :: Multimedia :: Video
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
20
20
|
Requires-Python: >=3.9.0
|
21
|
-
Requires-Dist: livekit-agents>=1.1.
|
21
|
+
Requires-Dist: livekit-agents>=1.1.5
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
|
24
24
|
# Cartesia plugin for LiveKit Agents
|
{livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/tts.py
RENAMED
@@ -113,6 +113,13 @@ class TTS(tts.TTS):
|
|
113
113
|
if not cartesia_api_key:
|
114
114
|
raise ValueError("CARTESIA_API_KEY must be set")
|
115
115
|
|
116
|
+
if (speed or emotion) and model != "sonic-2-2025-03-07":
|
117
|
+
logger.warning(
|
118
|
+
"speed and emotion controls are only supported for model 'sonic-2-2025-03-07', "
|
119
|
+
"see https://docs.cartesia.ai/developer-tools/changelog for details",
|
120
|
+
extra={"model": model, "speed": speed, "emotion": emotion},
|
121
|
+
)
|
122
|
+
|
116
123
|
self._opts = _TTSOptions(
|
117
124
|
model=model,
|
118
125
|
language=language,
|
@@ -185,6 +192,13 @@ class TTS(tts.TTS):
|
|
185
192
|
if is_given(emotion):
|
186
193
|
self._opts.emotion = emotion
|
187
194
|
|
195
|
+
if (speed or emotion) and self._opts.model != "sonic-2-2025-03-07":
|
196
|
+
logger.warning(
|
197
|
+
"speed and emotion controls are only supported for model 'sonic-2-2025-03-07', "
|
198
|
+
"see https://docs.cartesia.ai/developer-tools/changelog for details",
|
199
|
+
extra={"model": self._opts.model, "speed": speed, "emotion": emotion},
|
200
|
+
)
|
201
|
+
|
188
202
|
def synthesize(
|
189
203
|
self, text: str, *, conn_options: APIConnectOptions = DEFAULT_API_CONNECT_OPTIONS
|
190
204
|
) -> ChunkedStream:
|
@@ -22,7 +22,7 @@ classifiers = [
|
|
22
22
|
"Programming Language :: Python :: 3.10",
|
23
23
|
"Programming Language :: Python :: 3 :: Only",
|
24
24
|
]
|
25
|
-
dependencies = ["livekit-agents>=1.1.
|
25
|
+
dependencies = ["livekit-agents>=1.1.5"]
|
26
26
|
|
27
27
|
[project.urls]
|
28
28
|
Documentation = "https://docs.livekit.io"
|
File without changes
|
File without changes
|
File without changes
|
{livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/log.py
RENAMED
File without changes
|
{livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/models.py
RENAMED
File without changes
|
{livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/py.typed
RENAMED
File without changes
|
{livekit_plugins_cartesia-1.1.3 → livekit_plugins_cartesia-1.1.5}/livekit/plugins/cartesia/stt.py
RENAMED
File without changes
|