spitch 1.3.0__py3-none-any.whl → 1.4.0__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.
Potentially problematic release.
This version of spitch might be problematic. Click here for more details.
- spitch/_version.py +1 -1
- spitch/resources/speech.py +2 -12
- spitch/types/speech_generate_params.py +0 -2
- {spitch-1.3.0.dist-info → spitch-1.4.0.dist-info}/METADATA +1 -1
- {spitch-1.3.0.dist-info → spitch-1.4.0.dist-info}/RECORD +7 -7
- {spitch-1.3.0.dist-info → spitch-1.4.0.dist-info}/WHEEL +0 -0
- {spitch-1.3.0.dist-info → spitch-1.4.0.dist-info}/licenses/LICENSE +0 -0
spitch/_version.py
CHANGED
spitch/resources/speech.py
CHANGED
|
@@ -61,7 +61,6 @@ class SpeechResource(SyncAPIResource):
|
|
|
61
61
|
*,
|
|
62
62
|
language: Literal["yo", "en", "ha", "ig"],
|
|
63
63
|
text: str,
|
|
64
|
-
stream: bool | NotGiven = NOT_GIVEN,
|
|
65
64
|
voice: Literal["sade", "segun", "femi", "funmi"] | NotGiven = NOT_GIVEN,
|
|
66
65
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
67
66
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -94,11 +93,7 @@ class SpeechResource(SyncAPIResource):
|
|
|
94
93
|
speech_generate_params.SpeechGenerateParams,
|
|
95
94
|
),
|
|
96
95
|
options=make_request_options(
|
|
97
|
-
extra_headers=extra_headers,
|
|
98
|
-
extra_query=extra_query,
|
|
99
|
-
extra_body=extra_body,
|
|
100
|
-
timeout=timeout,
|
|
101
|
-
query=maybe_transform({"stream": stream}, speech_generate_params.SpeechGenerateParams),
|
|
96
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
102
97
|
),
|
|
103
98
|
cast_to=BinaryAPIResponse,
|
|
104
99
|
)
|
|
@@ -176,7 +171,6 @@ class AsyncSpeechResource(AsyncAPIResource):
|
|
|
176
171
|
*,
|
|
177
172
|
language: Literal["yo", "en", "ha", "ig"],
|
|
178
173
|
text: str,
|
|
179
|
-
stream: bool | NotGiven = NOT_GIVEN,
|
|
180
174
|
voice: Literal["sade", "segun", "femi", "funmi"] | NotGiven = NOT_GIVEN,
|
|
181
175
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
182
176
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -209,11 +203,7 @@ class AsyncSpeechResource(AsyncAPIResource):
|
|
|
209
203
|
speech_generate_params.SpeechGenerateParams,
|
|
210
204
|
),
|
|
211
205
|
options=make_request_options(
|
|
212
|
-
extra_headers=extra_headers,
|
|
213
|
-
extra_query=extra_query,
|
|
214
|
-
extra_body=extra_body,
|
|
215
|
-
timeout=timeout,
|
|
216
|
-
query=await async_maybe_transform({"stream": stream}, speech_generate_params.SpeechGenerateParams),
|
|
206
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
217
207
|
),
|
|
218
208
|
cast_to=AsyncBinaryAPIResponse,
|
|
219
209
|
)
|
|
@@ -11,7 +11,7 @@ spitch/_resource.py,sha256=TLFPcOOmtxZOQLh3XCNPB_BdrQpp0MIYoKoH52aRAu8,1100
|
|
|
11
11
|
spitch/_response.py,sha256=aN6swtguiZ7CC_hWFrwoUa53FgSbjRfZXxYHvfDNGeo,28609
|
|
12
12
|
spitch/_streaming.py,sha256=5SpId2EIfF8Ee8UUYmJxqgHUGP1ZdHCUHhHCdNJREFA,10100
|
|
13
13
|
spitch/_types.py,sha256=dsJyGWdBXaYJaRBqn2V3iRsfpWw71rFaSxdSM8sPQYY,6103
|
|
14
|
-
spitch/_version.py,sha256=
|
|
14
|
+
spitch/_version.py,sha256=RzL9RBVz77WKIsv1tr8TayDCN1_DveJV26g_1D9K4IU,158
|
|
15
15
|
spitch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
spitch/_utils/__init__.py,sha256=Uzq1-FIih_VUjzdNVWXks0sdC39KBKLMrZoz-_JOjJ4,1988
|
|
17
17
|
spitch/_utils/_logs.py,sha256=ApRyYK_WgZfEr_ygBUBXWMlTgeMr2tdNOGlH8jE4oJc,774
|
|
@@ -24,13 +24,13 @@ spitch/_utils/_typing.py,sha256=tFbktdpdHCQliwzGsWysgn0P5H0JRdagkZdb_LegGkY,3838
|
|
|
24
24
|
spitch/_utils/_utils.py,sha256=tYrr7IX-5NMwsVKbNggbzOM84uNw7XnAe06e2Ln8Or0,11472
|
|
25
25
|
spitch/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
26
26
|
spitch/resources/__init__.py,sha256=KT6rAvIlWHQk9QdM4Jp8ABziKILaBrrtiO7LCB5Wa5E,976
|
|
27
|
-
spitch/resources/speech.py,sha256=
|
|
27
|
+
spitch/resources/speech.py,sha256=VJxU4pP1DObPB9gP5IkMPLN4IP6jGT5fbUJXlWAT23w,11388
|
|
28
28
|
spitch/resources/text.py,sha256=xy7N1q5ioXVMtmcW6iOE8j8n9j4lvnpvO4jJ9FMZmsU,6071
|
|
29
29
|
spitch/types/__init__.py,sha256=4aa9CgcCmGRqZb4k9F3005Q4Ok-zjiiqw5k3BXIQ3MY,364
|
|
30
|
-
spitch/types/speech_generate_params.py,sha256=
|
|
30
|
+
spitch/types/speech_generate_params.py,sha256=xJPVX2uBsrLBMX4gQF9ydHG2PcIgau5PbBTO1eFccZk,407
|
|
31
31
|
spitch/types/speech_transcibe_params.py,sha256=WvwBsSctqJDXOFJNYyjfijwCnAdJCPkJobESfmLy3aI,448
|
|
32
32
|
spitch/types/text_tone_mark_params.py,sha256=63P5VElxanYkDP1ZLEuQt97JSgVpMCaAo4WRWLDvhlY,349
|
|
33
|
-
spitch-1.
|
|
34
|
-
spitch-1.
|
|
35
|
-
spitch-1.
|
|
36
|
-
spitch-1.
|
|
33
|
+
spitch-1.4.0.dist-info/METADATA,sha256=VSjm1qoy8DwjpdsI5HRCwTPtQ-pEV_vQkeMNsuWnI0g,12392
|
|
34
|
+
spitch-1.4.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
35
|
+
spitch-1.4.0.dist-info/licenses/LICENSE,sha256=529F8Amq5MfoIm33JY544oweKES9vw9_xS1CNx-ztPI,11336
|
|
36
|
+
spitch-1.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|