style(examples): fix ruff formatting in Gemini text example
Refactor `CartesiaTTSService` instantiation to comply with line length requirements from the ruff linter.
This commit is contained in:
@@ -63,7 +63,9 @@ async def main():
|
|||||||
GeminiMultimodalModalities.TEXT
|
GeminiMultimodalModalities.TEXT
|
||||||
) # This forces model to produce text only responses
|
) # 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(
|
pipeline = Pipeline(
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user