Skip to content

Commit

Permalink
fix(examples): correct import order in Gemini example
Browse files Browse the repository at this point in the history
- Move `CartesiaMultiLingualTTSService` import to maintain proper order.
- Reorganize `enum` import to adhere to styling standards.
  • Loading branch information
imsakg committed Jan 8, 2025
1 parent a342fe7 commit 40e9ee6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/foundational/26d-gemini-multimodal-live-text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/pipecat/services/gemini_multimodal_live/gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40e9ee6

Please sign in to comment.