diff --git a/examples/foundational/26d-gemini-multimodal-live-text.py b/examples/foundational/26d-gemini-multimodal-live-text.py index 5e43e19bb..760af39ce 100644 --- a/examples/foundational/26d-gemini-multimodal-live-text.py +++ b/examples/foundational/26d-gemini-multimodal-live-text.py @@ -9,6 +9,7 @@ import sys import aiohttp +from agent.services.tts.cartesia_multilingual import CartesiaMultiLingualTTSService from dotenv import load_dotenv from loguru import logger from runner import configure @@ -19,7 +20,6 @@ from pipecat.pipeline.runner import PipelineRunner from pipecat.pipeline.task import PipelineParams, PipelineTask from pipecat.services.gemini_multimodal_live.gemini import GeminiMultimodalLiveLLMService -from agent.services.tts.cartesia_multilingual import CartesiaMultiLingualTTSService from pipecat.transports.services.daily import DailyParams, DailyTransport load_dotenv(override=True) diff --git a/src/pipecat/services/gemini_multimodal_live/gemini.py b/src/pipecat/services/gemini_multimodal_live/gemini.py index a94399a1d..1d76f191c 100644 --- a/src/pipecat/services/gemini_multimodal_live/gemini.py +++ b/src/pipecat/services/gemini_multimodal_live/gemini.py @@ -6,9 +6,9 @@ import asyncio import base64 -from enum import Enum import json from dataclasses import dataclass +from enum import Enum from typing import Any, Dict, List, Optional import websockets