cartesia 1.0.10__py2.py3-none-any.whl → 1.0.11__py2.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.
- cartesia/client.py +3 -0
- cartesia/version.py +1 -1
- {cartesia-1.0.10.dist-info → cartesia-1.0.11.dist-info}/METADATA +1 -1
- {cartesia-1.0.10.dist-info → cartesia-1.0.11.dist-info}/RECORD +7 -7
- {cartesia-1.0.10.dist-info → cartesia-1.0.11.dist-info}/LICENSE.md +0 -0
- {cartesia-1.0.10.dist-info → cartesia-1.0.11.dist-info}/WHEEL +0 -0
- {cartesia-1.0.10.dist-info → cartesia-1.0.11.dist-info}/top_level.txt +0 -0
cartesia/client.py
CHANGED
@@ -294,6 +294,7 @@ class _TTSContext:
|
|
294
294
|
context_id: Optional[str] = None,
|
295
295
|
duration: Optional[int] = None,
|
296
296
|
language: Optional[str] = None,
|
297
|
+
add_timestamps: bool = False,
|
297
298
|
_experimental_voice_controls: Optional[VoiceControls] = None,
|
298
299
|
) -> Generator[bytes, None, None]:
|
299
300
|
"""Send audio generation requests to the WebSocket and yield responses.
|
@@ -307,6 +308,7 @@ class _TTSContext:
|
|
307
308
|
context_id: The context ID to use for the request. If not specified, a random context ID will be generated.
|
308
309
|
duration: The duration of the audio in seconds.
|
309
310
|
language: The language code for the audio request. This can only be used with `model_id = sonic-multilingual`
|
311
|
+
add_timestamps: Whether to return word-level timestamps.
|
310
312
|
_experimental_voice_controls: Experimental voice controls for controlling speed and emotion.
|
311
313
|
Note: This is an experimental feature and may change rapidly in future releases.
|
312
314
|
|
@@ -341,6 +343,7 @@ class _TTSContext:
|
|
341
343
|
},
|
342
344
|
"context_id": self._context_id,
|
343
345
|
"language": language,
|
346
|
+
"add_timestamps": add_timestamps,
|
344
347
|
}
|
345
348
|
|
346
349
|
if duration is not None:
|
cartesia/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "1.0.
|
1
|
+
__version__ = "1.0.11"
|
@@ -1,12 +1,12 @@
|
|
1
1
|
cartesia/__init__.py,sha256=E4w7psbAwx8X6Iri3W8jGeo11gIlhr3mSU33zChipmI,93
|
2
2
|
cartesia/_types.py,sha256=pkFJmsO-OWAJNtqxV80-YcR8KWWLhIwLFejzDjBewbw,4428
|
3
|
-
cartesia/client.py,sha256=
|
4
|
-
cartesia/version.py,sha256=
|
3
|
+
cartesia/client.py,sha256=d5yhh1AvKO0yr6jPZaFoXvOW7DySNFXnn65W0lB92kA,51767
|
4
|
+
cartesia/version.py,sha256=wygrEW3brUgbks4JvwNjcujOADEl2PWkdIF9d8vyM3c,23
|
5
5
|
cartesia/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
cartesia/utils/deprecated.py,sha256=2cXvGtrxhPeUZA5LWy2n_U5OFLDv7SHeFtzqhjSJGyk,1674
|
7
7
|
cartesia/utils/retry.py,sha256=O6fyVWpH9Su8c0Fwupl57xMt6JrwJ52txBwP3faUL7k,3339
|
8
|
-
cartesia-1.0.
|
9
|
-
cartesia-1.0.
|
10
|
-
cartesia-1.0.
|
11
|
-
cartesia-1.0.
|
12
|
-
cartesia-1.0.
|
8
|
+
cartesia-1.0.11.dist-info/LICENSE.md,sha256=PT2YG5wEtEX1TNDn5sXkUXqbn-neyr7cZenTxd40ql4,1074
|
9
|
+
cartesia-1.0.11.dist-info/METADATA,sha256=o6SMA344ywRFJqbMOawCgZCrb8ntqDBZdJ7flp9TcI8,21122
|
10
|
+
cartesia-1.0.11.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
|
11
|
+
cartesia-1.0.11.dist-info/top_level.txt,sha256=rTX4HnnCegMxl1FK9czpVC7GAvf3SwDzPG65qP-BS4w,9
|
12
|
+
cartesia-1.0.11.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|