Skip to content

Commit

Permalink
(release): v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] authored Apr 3, 2024
1 parent 995ac5b commit 133d247
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "elevenlabs"
version = "v1.0.3"
version = "v1.0.4"
description = ""
readme = "README.md"
authors = []
Expand Down
2 changes: 1 addition & 1 deletion src/elevenlabs/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "elevenlabs",
"X-Fern-SDK-Version": "v1.0.3",
"X-Fern-SDK-Version": "v1.0.4",
}
if self._api_key is not None:
headers["xi-api-key"] = self._api_key
Expand Down
8 changes: 4 additions & 4 deletions src/elevenlabs/voices/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def add_sharing_voice(
raise ApiError(status_code=_response.status_code, body=_response.text)
raise ApiError(status_code=_response.status_code, body=_response_json)

def get_voices(
def get_shared(
self,
*,
page_size: typing.Optional[int] = None,
Expand Down Expand Up @@ -602,7 +602,7 @@ def get_voices(
client = ElevenLabs(
api_key="YOUR_API_KEY",
)
client.voices.get_voices()
client.voices.get_shared()
"""
_response = self._client_wrapper.httpx_client.request(
"GET",
Expand Down Expand Up @@ -1182,7 +1182,7 @@ async def add_sharing_voice(
raise ApiError(status_code=_response.status_code, body=_response.text)
raise ApiError(status_code=_response.status_code, body=_response_json)

async def get_voices(
async def get_shared(
self,
*,
page_size: typing.Optional[int] = None,
Expand Down Expand Up @@ -1231,7 +1231,7 @@ async def get_voices(
client = AsyncElevenLabs(
api_key="YOUR_API_KEY",
)
await client.voices.get_voices()
await client.voices.get_shared()
"""
_response = await self._client_wrapper.httpx_client.request(
"GET",
Expand Down

0 comments on commit 133d247

Please sign in to comment.