cartesia 2.0.6__py3-none-any.whl → 2.0.8__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/core/client_wrapper.py +1 -1
- cartesia/infill/client.py +0 -8
- cartesia/stt/client.py +0 -6
- cartesia/tts/_async_websocket.py +39 -24
- cartesia/tts/_websocket.py +0 -1
- cartesia/voice_changer/client.py +0 -8
- cartesia/voices/client.py +0 -12
- cartesia-2.0.8.dist-info/LICENSE +201 -0
- {cartesia-2.0.6.dist-info → cartesia-2.0.8.dist-info}/METADATA +1 -1
- {cartesia-2.0.6.dist-info → cartesia-2.0.8.dist-info}/RECORD +11 -10
- {cartesia-2.0.6.dist-info → cartesia-2.0.8.dist-info}/WHEEL +0 -0
cartesia/core/client_wrapper.py
CHANGED
@@ -16,7 +16,7 @@ class BaseClientWrapper:
|
|
16
16
|
headers: typing.Dict[str, str] = {
|
17
17
|
"X-Fern-Language": "Python",
|
18
18
|
"X-Fern-SDK-Name": "cartesia",
|
19
|
-
"X-Fern-SDK-Version": "2.0.
|
19
|
+
"X-Fern-SDK-Version": "2.0.8",
|
20
20
|
}
|
21
21
|
headers["X-API-Key"] = self.api_key
|
22
22
|
headers["Cartesia-Version"] = "2024-11-13"
|
cartesia/infill/client.py
CHANGED
@@ -83,17 +83,14 @@ class InfillClient:
|
|
83
83
|
output_format_encoding : typing.Optional[RawEncoding]
|
84
84
|
Required for `raw` and `wav` containers.
|
85
85
|
|
86
|
-
|
87
86
|
output_format_bit_rate : typing.Optional[int]
|
88
87
|
Required for `mp3` containers.
|
89
88
|
|
90
|
-
|
91
89
|
voice_experimental_controls_speed : typing.Optional[Speed]
|
92
90
|
Either a number between -1.0 and 1.0 or a natural language description of speed.
|
93
91
|
|
94
92
|
If you specify a number, 0.0 is the default speed, -1.0 is the slowest speed, and 1.0 is the fastest speed.
|
95
93
|
|
96
|
-
|
97
94
|
voice_experimental_controls_emotion : typing.Optional[typing.List[Emotion]]
|
98
95
|
An array of emotion:level tags.
|
99
96
|
|
@@ -101,7 +98,6 @@ class InfillClient:
|
|
101
98
|
|
102
99
|
Supported levels are: lowest, low, (omit), high, highest.
|
103
100
|
|
104
|
-
|
105
101
|
request_options : typing.Optional[RequestOptions]
|
106
102
|
Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
|
107
103
|
|
@@ -230,17 +226,14 @@ class AsyncInfillClient:
|
|
230
226
|
output_format_encoding : typing.Optional[RawEncoding]
|
231
227
|
Required for `raw` and `wav` containers.
|
232
228
|
|
233
|
-
|
234
229
|
output_format_bit_rate : typing.Optional[int]
|
235
230
|
Required for `mp3` containers.
|
236
231
|
|
237
|
-
|
238
232
|
voice_experimental_controls_speed : typing.Optional[Speed]
|
239
233
|
Either a number between -1.0 and 1.0 or a natural language description of speed.
|
240
234
|
|
241
235
|
If you specify a number, 0.0 is the default speed, -1.0 is the slowest speed, and 1.0 is the fastest speed.
|
242
236
|
|
243
|
-
|
244
237
|
voice_experimental_controls_emotion : typing.Optional[typing.List[Emotion]]
|
245
238
|
An array of emotion:level tags.
|
246
239
|
|
@@ -248,7 +241,6 @@ class AsyncInfillClient:
|
|
248
241
|
|
249
242
|
Supported levels are: lowest, low, (omit), high, highest.
|
250
243
|
|
251
|
-
|
252
244
|
request_options : typing.Optional[RequestOptions]
|
253
245
|
Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
|
254
246
|
|
cartesia/stt/client.py
CHANGED
@@ -54,7 +54,6 @@ class SttClient:
|
|
54
54
|
model : str
|
55
55
|
ID of the model to use for transcription. Use `ink-whisper` for the latest Cartesia Whisper model.
|
56
56
|
|
57
|
-
|
58
57
|
encoding : typing.Optional[SttEncoding]
|
59
58
|
The encoding format to process the audio as. If not specified, the audio file will be decoded automatically.
|
60
59
|
|
@@ -175,11 +174,9 @@ class SttClient:
|
|
175
174
|
- `yue` (Cantonese)
|
176
175
|
</Accordion>
|
177
176
|
|
178
|
-
|
179
177
|
timestamp_granularities : typing.Optional[typing.List[TimestampGranularity]]
|
180
178
|
The timestamp granularities to populate for this transcription. Currently only `word` level timestamps are supported.
|
181
179
|
|
182
|
-
|
183
180
|
request_options : typing.Optional[RequestOptions]
|
184
181
|
Request-specific configuration.
|
185
182
|
|
@@ -270,7 +267,6 @@ class AsyncSttClient:
|
|
270
267
|
model : str
|
271
268
|
ID of the model to use for transcription. Use `ink-whisper` for the latest Cartesia Whisper model.
|
272
269
|
|
273
|
-
|
274
270
|
encoding : typing.Optional[SttEncoding]
|
275
271
|
The encoding format to process the audio as. If not specified, the audio file will be decoded automatically.
|
276
272
|
|
@@ -391,11 +387,9 @@ class AsyncSttClient:
|
|
391
387
|
- `yue` (Cantonese)
|
392
388
|
</Accordion>
|
393
389
|
|
394
|
-
|
395
390
|
timestamp_granularities : typing.Optional[typing.List[TimestampGranularity]]
|
396
391
|
The timestamp granularities to populate for this transcription. Currently only `word` level timestamps are supported.
|
397
392
|
|
398
|
-
|
399
393
|
request_options : typing.Optional[RequestOptions]
|
400
394
|
Request-specific configuration.
|
401
395
|
|
cartesia/tts/_async_websocket.py
CHANGED
@@ -50,7 +50,6 @@ class _AsyncTTSContext:
|
|
50
50
|
self._context_id = context_id
|
51
51
|
self._websocket = websocket
|
52
52
|
self.timeout = timeout
|
53
|
-
self._error = None
|
54
53
|
|
55
54
|
@property
|
56
55
|
def context_id(self) -> str:
|
@@ -338,27 +337,28 @@ class AsyncTtsWebsocket(TtsWebsocket):
|
|
338
337
|
|
339
338
|
async def close(self):
|
340
339
|
"""This method closes the websocket connection. *Highly* recommended to call this method when done."""
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
340
|
+
self._closing = True
|
341
|
+
try:
|
342
|
+
if self._processing_task:
|
343
|
+
self._processing_task.cancel()
|
344
|
+
try:
|
345
|
+
await self._processing_task
|
346
|
+
except asyncio.CancelledError:
|
347
|
+
pass
|
348
|
+
finally:
|
349
|
+
self._processing_task = None
|
350
|
+
|
351
|
+
if self.websocket is not None and not self._is_websocket_closed():
|
352
|
+
await self.websocket.close()
|
353
|
+
|
354
|
+
for context_id in list(self._context_queues.keys()):
|
355
|
+
self._remove_context(context_id)
|
356
|
+
|
357
|
+
self._context_queues.clear()
|
358
|
+
self._processing_task = None
|
359
|
+
self.websocket = None
|
360
|
+
finally:
|
361
|
+
self._closing = False
|
362
362
|
|
363
363
|
async def send(
|
364
364
|
self,
|
@@ -444,6 +444,16 @@ class AsyncTtsWebsocket(TtsWebsocket):
|
|
444
444
|
),
|
445
445
|
)
|
446
446
|
|
447
|
+
def _is_close_error(self, e: TypeError) -> bool:
|
448
|
+
# TODO: This method checks the error string, but should check the code directly if/when aiohttp
|
449
|
+
# adds the code as a field to the error
|
450
|
+
exception_str = str(e)
|
451
|
+
return (
|
452
|
+
f"{aiohttp.WSMsgType.CLOSING}:None" in exception_str
|
453
|
+
or f"{aiohttp.WSMsgType.CLOSED}:None" in exception_str
|
454
|
+
or f"{aiohttp.WSMsgType.CLOSE}:1000" in exception_str
|
455
|
+
)
|
456
|
+
|
447
457
|
async def _process_responses(self):
|
448
458
|
try:
|
449
459
|
while True:
|
@@ -453,8 +463,13 @@ class AsyncTtsWebsocket(TtsWebsocket):
|
|
453
463
|
flush_id = response.get("flush_id", -1)
|
454
464
|
if context_id in self._context_queues:
|
455
465
|
await self._context_queues[context_id][flush_id].put(response)
|
456
|
-
except
|
457
|
-
|
466
|
+
except TypeError as e:
|
467
|
+
# If the WebSocket is closing and the error is a close error, ignore it.
|
468
|
+
if self._closing and self._is_close_error(e):
|
469
|
+
return
|
470
|
+
# Otherwise, if this is a close error, raise a more clear error.
|
471
|
+
if self._is_close_error(e):
|
472
|
+
raise RuntimeError(f"WebSocket closed unexpectedly: {e}")
|
458
473
|
raise e
|
459
474
|
|
460
475
|
async def _get_message(
|
cartesia/tts/_websocket.py
CHANGED
cartesia/voice_changer/client.py
CHANGED
@@ -51,11 +51,9 @@ class VoiceChangerClient:
|
|
51
51
|
output_format_encoding : typing.Optional[RawEncoding]
|
52
52
|
Required for `raw` and `wav` containers.
|
53
53
|
|
54
|
-
|
55
54
|
output_format_bit_rate : typing.Optional[int]
|
56
55
|
Required for `mp3` containers.
|
57
56
|
|
58
|
-
|
59
57
|
request_options : typing.Optional[RequestOptions]
|
60
58
|
Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
|
61
59
|
|
@@ -131,11 +129,9 @@ class VoiceChangerClient:
|
|
131
129
|
output_format_encoding : typing.Optional[RawEncoding]
|
132
130
|
Required for `raw` and `wav` containers.
|
133
131
|
|
134
|
-
|
135
132
|
output_format_bit_rate : typing.Optional[int]
|
136
133
|
Required for `mp3` containers.
|
137
134
|
|
138
|
-
|
139
135
|
request_options : typing.Optional[RequestOptions]
|
140
136
|
Request-specific configuration.
|
141
137
|
|
@@ -232,11 +228,9 @@ class AsyncVoiceChangerClient:
|
|
232
228
|
output_format_encoding : typing.Optional[RawEncoding]
|
233
229
|
Required for `raw` and `wav` containers.
|
234
230
|
|
235
|
-
|
236
231
|
output_format_bit_rate : typing.Optional[int]
|
237
232
|
Required for `mp3` containers.
|
238
233
|
|
239
|
-
|
240
234
|
request_options : typing.Optional[RequestOptions]
|
241
235
|
Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
|
242
236
|
|
@@ -320,11 +314,9 @@ class AsyncVoiceChangerClient:
|
|
320
314
|
output_format_encoding : typing.Optional[RawEncoding]
|
321
315
|
Required for `raw` and `wav` containers.
|
322
316
|
|
323
|
-
|
324
317
|
output_format_bit_rate : typing.Optional[int]
|
325
318
|
Required for `mp3` containers.
|
326
319
|
|
327
|
-
|
328
320
|
request_options : typing.Optional[RequestOptions]
|
329
321
|
Request-specific configuration.
|
330
322
|
|
cartesia/voices/client.py
CHANGED
@@ -168,27 +168,21 @@ class VoicesClient:
|
|
168
168
|
name : str
|
169
169
|
The name of the voice.
|
170
170
|
|
171
|
-
|
172
171
|
language : SupportedLanguage
|
173
172
|
The language of the voice.
|
174
173
|
|
175
|
-
|
176
174
|
mode : CloneMode
|
177
175
|
Tradeoff between similarity and stability. Similarity clones sound more like the source clip, but may reproduce background noise. Stability clones always sound like a studio recording, but may not sound as similar to the source clip.
|
178
176
|
|
179
|
-
|
180
177
|
description : typing.Optional[str]
|
181
178
|
A description for the voice.
|
182
179
|
|
183
|
-
|
184
180
|
enhance : typing.Optional[bool]
|
185
181
|
Whether to apply AI enhancements to the clip to reduce background noise. This leads to cleaner generated speech at the cost of reduced similarity to the source clip.
|
186
182
|
|
187
|
-
|
188
183
|
base_voice_id : typing.Optional[VoiceId]
|
189
184
|
Optional base voice ID that the cloned voice is derived from.
|
190
185
|
|
191
|
-
|
192
186
|
request_options : typing.Optional[RequestOptions]
|
193
187
|
Request-specific configuration.
|
194
188
|
|
@@ -736,27 +730,21 @@ class AsyncVoicesClient:
|
|
736
730
|
name : str
|
737
731
|
The name of the voice.
|
738
732
|
|
739
|
-
|
740
733
|
language : SupportedLanguage
|
741
734
|
The language of the voice.
|
742
735
|
|
743
|
-
|
744
736
|
mode : CloneMode
|
745
737
|
Tradeoff between similarity and stability. Similarity clones sound more like the source clip, but may reproduce background noise. Stability clones always sound like a studio recording, but may not sound as similar to the source clip.
|
746
738
|
|
747
|
-
|
748
739
|
description : typing.Optional[str]
|
749
740
|
A description for the voice.
|
750
741
|
|
751
|
-
|
752
742
|
enhance : typing.Optional[bool]
|
753
743
|
Whether to apply AI enhancements to the clip to reduce background noise. This leads to cleaner generated speech at the cost of reduced similarity to the source clip.
|
754
744
|
|
755
|
-
|
756
745
|
base_voice_id : typing.Optional[VoiceId]
|
757
746
|
Optional base voice ID that the cloned voice is derived from.
|
758
747
|
|
759
|
-
|
760
748
|
request_options : typing.Optional[RequestOptions]
|
761
749
|
Request-specific configuration.
|
762
750
|
|
@@ -0,0 +1,201 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
188
|
+
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
190
|
+
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
+
you may not use this file except in compliance with the License.
|
193
|
+
You may obtain a copy of the License at
|
194
|
+
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
+
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
+
See the License for the specific language governing permissions and
|
201
|
+
limitations under the License.
|
@@ -19,7 +19,7 @@ cartesia/base_client.py,sha256=igAZOMDXz2Nv58oXHa7I9UfgxVN48drqhEmfsCCQlg8,6701
|
|
19
19
|
cartesia/client.py,sha256=LoJjlJW2kJA-hyDt-Wu7QuKQsiTiLQfLYZjsjtewPJM,6537
|
20
20
|
cartesia/core/__init__.py,sha256=-t9txgeQZL_1FDw_08GEoj4ft1Cn9Dti6X0Drsadlr0,1519
|
21
21
|
cartesia/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
22
|
-
cartesia/core/client_wrapper.py,sha256=
|
22
|
+
cartesia/core/client_wrapper.py,sha256=JoQT3EFinsagzASKi5rc7WDSyStOFPy9Mgy6h0w46Pc,1854
|
23
23
|
cartesia/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
24
24
|
cartesia/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
25
25
|
cartesia/core/http_client.py,sha256=KL5RGa0y4n8nX0-07WRg4ZQUTq30sc-XJbWcP5vjBDg,19552
|
@@ -49,12 +49,12 @@ cartesia/embedding/types/__init__.py,sha256=aOrEOGuiO6dlSGu7pckqVMTYEMVAR5I7qqca
|
|
49
49
|
cartesia/embedding/types/embedding.py,sha256=C1OJg8M4T1Apfcv4qx79ndftg0SgH4Lfqe_iU3UF-bA,1851
|
50
50
|
cartesia/environment.py,sha256=Qnp91BGLic7hXmKsiYub2m3nPfvDWm59aB1wWta1J6A,160
|
51
51
|
cartesia/infill/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
52
|
-
cartesia/infill/client.py,sha256=
|
52
|
+
cartesia/infill/client.py,sha256=uEDhE3Cx47ZyG7ofR-GOR0LhHiHeTLkUcjkLSsyU2ug,12563
|
53
53
|
cartesia/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
54
54
|
cartesia/stt/__init__.py,sha256=UHT5OM-5phGwLCckL8BXGdC3QepJoboScW5eSXUE2S4,1763
|
55
55
|
cartesia/stt/_async_websocket.py,sha256=6MVYvSz3d9sI5-zzT_aIPEFKxXeCQU00RYFpYSF0dio,12385
|
56
56
|
cartesia/stt/_websocket.py,sha256=lNu7BzhkRswJrzji4l5OhJbceQPR4ybBPY-QTsfk11M,12328
|
57
|
-
cartesia/stt/client.py,sha256=
|
57
|
+
cartesia/stt/client.py,sha256=ROFjsSSfnot02CSFrrL1FYgMNL_TWEhnBg5PVjAQs-g,15569
|
58
58
|
cartesia/stt/requests/__init__.py,sha256=xVvSrY-imcWR3ecyMGIx9JXORpxWAGDUCSDuz2zbJNE,1123
|
59
59
|
cartesia/stt/requests/done_message.py,sha256=7kCw8FrTZ6C5MS1xTkCOonYPcaqttbzG6TRvMj_-Z8I,388
|
60
60
|
cartesia/stt/requests/error_message.py,sha256=AbVs03q-Rdp2AFmaJqj-b3RshYqhIQeSiQO3zOkFdiA,395
|
@@ -75,8 +75,8 @@ cartesia/stt/types/transcript_message.py,sha256=J-MchlahI96nVBiMSLJrEOXFw2pBShbM
|
|
75
75
|
cartesia/stt/types/transcription_response.py,sha256=QMcD6eLmp_Z2uaRLVyxYYIdoiRiVSGhBoxN3kjRTK2I,1190
|
76
76
|
cartesia/stt/types/transcription_word.py,sha256=yxTndKXNmToPOM6_F_QfF-B0dE6Kx8-UwBpHLj2_zWk,803
|
77
77
|
cartesia/tts/__init__.py,sha256=DwNzIilOcdNUbeIHIknngnW8WyZ6K5xZremSQQoo5VM,4927
|
78
|
-
cartesia/tts/_async_websocket.py,sha256=
|
79
|
-
cartesia/tts/_websocket.py,sha256=
|
78
|
+
cartesia/tts/_async_websocket.py,sha256=yviop52kcrW490JSV8jdxSQITmbQzb0TOxNd1zmuZsg,19424
|
79
|
+
cartesia/tts/_websocket.py,sha256=K93vHOdxhF4-Duk8xunNnIpvkAT_ztfAtaomD5im8c0,19247
|
80
80
|
cartesia/tts/client.py,sha256=Oot_ctyaqBgRMpyBUaMwh3z1M62oPKVMXNvMkmo1fRw,18180
|
81
81
|
cartesia/tts/requests/__init__.py,sha256=SeITRF5QSAjOE5pNxbD6VffwwttMnQwuv0Z5n9h7BKs,3418
|
82
82
|
cartesia/tts/requests/cancel_context_request.py,sha256=Wl8g-o5vwl9ENm-H1wsLx441FkIR_4Wt5UYtuWce2Yw,431
|
@@ -152,14 +152,14 @@ cartesia/tts/utils/tts.py,sha256=u7PgPxlJs6fcQTfr-jqAvBCAaK3JWLhF5QF4s-PwoMo,209
|
|
152
152
|
cartesia/tts/utils/types.py,sha256=DtsiRwrYypXScLu71gNyprUiELuR1l_-ikVaj47gpg4,2047
|
153
153
|
cartesia/version.py,sha256=xk5z2FYkgnvzyjqzmRg67rYl8fnCeHEjPpVmD08bjyE,75
|
154
154
|
cartesia/voice_changer/__init__.py,sha256=UKA8CSAwUb41OL-dcWWUhIsKLLsyY_NQtrklPAVWf9E,685
|
155
|
-
cartesia/voice_changer/client.py,sha256=
|
155
|
+
cartesia/voice_changer/client.py,sha256=w3Z3A-92Fu5k9NRrfdn7Gu2nqmOONL-xLCHknZhkANY,13509
|
156
156
|
cartesia/voice_changer/requests/__init__.py,sha256=MRwSUqio3mg_tvfcpAS0wIZ69HvJsc2kYJ0tUBaJ53U,390
|
157
157
|
cartesia/voice_changer/requests/streaming_response.py,sha256=lbo7CJeuh0f5hXT4lKG_sDUZDLJWaLqxcwCuSf1IbMQ,982
|
158
158
|
cartesia/voice_changer/types/__init__.py,sha256=qAiHsdRpnFeS0lBkYp_NRrhSJiRXCg5-uFibqDWzYVU,430
|
159
159
|
cartesia/voice_changer/types/output_format_container.py,sha256=RqLDELdgeOjYqNTJX1Le62qjiFiJGxf0cYnol88-LLM,166
|
160
160
|
cartesia/voice_changer/types/streaming_response.py,sha256=gH-2-rlpeI3y9Ou0c7AopHUm3Z5uB3HaoPM1RvFCKwg,1875
|
161
161
|
cartesia/voices/__init__.py,sha256=2D58Bir45LvcvP08QMnPlFE8DD8BONTjPLkIDdKs7vg,1891
|
162
|
-
cartesia/voices/client.py,sha256=
|
162
|
+
cartesia/voices/client.py,sha256=iEglXf5LlvVlTVMItjE3k9-rcQwrem6jx3GZgsblBpA,38981
|
163
163
|
cartesia/voices/requests/__init__.py,sha256=XiBJbSYeQCgFMtwywKvQ0Nmp7Zf_0WskzRhgr9c8h38,1072
|
164
164
|
cartesia/voices/requests/create_voice_request.py,sha256=r6dKb9ga0ZsAi_6PXuE43u2lLgfQg2DIYjk2Neng7pI,617
|
165
165
|
cartesia/voices/requests/embedding_response.py,sha256=PGZkBD8UBcv2MYQbBXyD4T6lzaE9oSGGwXx-MoXCp0M,228
|
@@ -198,6 +198,7 @@ cartesia/voices/types/voice_expand_options.py,sha256=e4FroWdlxEE-LXQfT1RWlGHtswl
|
|
198
198
|
cartesia/voices/types/voice_id.py,sha256=GDoXcRVeIm-V21R4suxG2zqLD3DLYkXE9kgizadzFKo,79
|
199
199
|
cartesia/voices/types/voice_metadata.py,sha256=4KNGjXMUKm3niv-NvKIFVGtiilpH13heuzKcZYNQxk4,1181
|
200
200
|
cartesia/voices/types/weight.py,sha256=XqDU7_JItNUb5QykIDqTbELlRYQdbt2SviRgW0w2LKo,80
|
201
|
-
cartesia-2.0.
|
202
|
-
cartesia-2.0.
|
203
|
-
cartesia-2.0.
|
201
|
+
cartesia-2.0.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
202
|
+
cartesia-2.0.8.dist-info/METADATA,sha256=xsIV3LGzfwSIXnjAGT1sotSNwN0ZaCgefCckc2EshLE,20804
|
203
|
+
cartesia-2.0.8.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
204
|
+
cartesia-2.0.8.dist-info/RECORD,,
|
File without changes
|