Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Mar 5, 2024
1 parent 177edd7 commit b3acc6b
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 = "0.0.37"
version = "0.0.38"
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 @@ -16,7 +16,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": "0.0.37",
"X-Fern-SDK-Version": "0.0.38",
}
if self._api_key is not None:
headers["xi-api-key"] = self._api_key
Expand Down
8 changes: 4 additions & 4 deletions src/elevenlabs/speech_to_speech/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class SpeechToSpeechClient:
def __init__(self, *, client_wrapper: SyncClientWrapper):
self._client_wrapper = client_wrapper

def speech_to_speech(
def convert(
self,
voice_id: str,
*,
Expand Down Expand Up @@ -107,7 +107,7 @@ def speech_to_speech(
raise ApiError(status_code=_response.status_code, body=_response.text)
raise ApiError(status_code=_response.status_code, body=_response_json)

def speech_to_speech_streaming(
def convert_as_stream(
self,
voice_id: str,
*,
Expand Down Expand Up @@ -192,7 +192,7 @@ class AsyncSpeechToSpeechClient:
def __init__(self, *, client_wrapper: AsyncClientWrapper):
self._client_wrapper = client_wrapper

async def speech_to_speech(
async def convert(
self,
voice_id: str,
*,
Expand Down Expand Up @@ -273,7 +273,7 @@ async def speech_to_speech(
raise ApiError(status_code=_response.status_code, body=_response.text)
raise ApiError(status_code=_response.status_code, body=_response_json)

async def speech_to_speech_streaming(
async def convert_as_stream(
self,
voice_id: str,
*,
Expand Down

0 comments on commit b3acc6b

Please sign in to comment.