From 67af4e619b2c19117464d8556b7e129872df96b1 Mon Sep 17 00:00:00 2001 From: Mert Sefa AKGUN Date: Fri, 10 Jan 2025 12:32:24 +0300 Subject: [PATCH] style(examples): fix ruff formatting in Gemini text example Refactor `CartesiaTTSService` instantiation to comply with line length requirements from the ruff linter. --- examples/foundational/26d-gemini-multimodal-live-text.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/foundational/26d-gemini-multimodal-live-text.py b/examples/foundational/26d-gemini-multimodal-live-text.py index 06ba825d6..493c2983a 100644 --- a/examples/foundational/26d-gemini-multimodal-live-text.py +++ b/examples/foundational/26d-gemini-multimodal-live-text.py @@ -63,7 +63,9 @@ async def main(): GeminiMultimodalModalities.TEXT ) # This forces model to produce text only responses - tts = CartesiaTTSService(api_key=os.getenv("CARTESIA_API_KEY"), voice_id="79a125e8-cd45-4c13-8a67-188112f4dd22") + tts = CartesiaTTSService( + api_key=os.getenv("CARTESIA_API_KEY"), voice_id="79a125e8-cd45-4c13-8a67-188112f4dd22" + ) pipeline = Pipeline( [