Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌿 Fern Regeneration -- August 13, 2024 #342

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.6.1"
version = "1.7.0"
description = ""
readme = "README.md"
authors = []
Expand Down
4 changes: 2 additions & 2 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ client.text_to_speech.convert(
</dl>
</details>

<details><summary><code>client.text_to_speech.<a href="src/elevenlabs/text_to_speech/client.py">convert_with_timstamps</a>(...)</code></summary>
<details><summary><code>client.text_to_speech.<a href="src/elevenlabs/text_to_speech/client.py">convert_with_timestamps</a>(...)</code></summary>
<dl>
<dd>

Expand Down Expand Up @@ -980,7 +980,7 @@ from elevenlabs.client import ElevenLabs
client = ElevenLabs(
api_key="YOUR_API_KEY",
)
client.text_to_speech.convert_with_timstamps(
client.text_to_speech.convert_with_timestamps(
voice_id="21m00Tcm4TlvDq8ikWAM",
text="text",
)
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.6.0",
"X-Fern-SDK-Version": "1.7.0",
}
if self._api_key is not None:
headers["xi-api-key"] = self._api_key
Expand Down
8 changes: 4 additions & 4 deletions src/elevenlabs/text_to_speech/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def convert(
raise ApiError(status_code=_response.status_code, body=_response.text)
raise ApiError(status_code=_response.status_code, body=_response_json)

def convert_with_timstamps(
def convert_with_timestamps(
self,
voice_id: str,
*,
Expand Down Expand Up @@ -240,7 +240,7 @@ def convert_with_timstamps(
client = ElevenLabs(
api_key="YOUR_API_KEY",
)
client.text_to_speech.convert_with_timstamps(
client.text_to_speech.convert_with_timestamps(
voice_id="21m00Tcm4TlvDq8ikWAM",
text="text",
)
Expand Down Expand Up @@ -683,7 +683,7 @@ async def main() -> None:
raise ApiError(status_code=_response.status_code, body=_response.text)
raise ApiError(status_code=_response.status_code, body=_response_json)

async def convert_with_timstamps(
async def convert_with_timestamps(
self,
voice_id: str,
*,
Expand Down Expand Up @@ -771,7 +771,7 @@ async def convert_with_timstamps(


async def main() -> None:
await client.text_to_speech.convert_with_timstamps(
await client.text_to_speech.convert_with_timestamps(
voice_id="21m00Tcm4TlvDq8ikWAM",
text="text",
)
Expand Down
Loading