Skip to content

Commit

Permalink
style(examples): fix ruff formatting in Gemini text example
Browse files Browse the repository at this point in the history
Refactor `CartesiaTTSService` instantiation to comply with line
length requirements from the ruff linter.
  • Loading branch information
imsakg committed Jan 10, 2025
1 parent 21c2749 commit 67af4e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/foundational/26d-gemini-multimodal-live-text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
[
Expand Down

0 comments on commit 67af4e6

Please sign in to comment.