From a75c7e7e0b2aa8d04225ca34e2e387ccd0ba13ac Mon Sep 17 00:00:00 2001 From: fern <126544928+fern-bot@users.noreply.github.com> Date: Tue, 30 Jul 2024 07:57:14 -0400 Subject: [PATCH] (fix): output format is passed to realtime tts (#335) --- pyproject.toml | 2 +- src/elevenlabs/client.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 44fe85d..197a4b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "elevenlabs" -version = "v1.6.0" +version = "v1.6.1" description = "" readme = "README.md" authors = [] diff --git a/src/elevenlabs/client.py b/src/elevenlabs/client.py index c700e5a..a0dac65 100644 --- a/src/elevenlabs/client.py +++ b/src/elevenlabs/client.py @@ -212,6 +212,7 @@ def generate( return self.text_to_speech.convert_realtime( # type: ignore voice_id=voice_id, voice_settings=voice_settings, + output_format=output_format, text=text, request_options=request_options, model_id=model_id