Update examples to use the class Settings alias

This commit is contained in:
Mark Backman
2026-03-07 09:15:24 -05:00
parent 26631a9c31
commit cd28c82de3
264 changed files with 1172 additions and 1155 deletions

View File

@@ -18,7 +18,7 @@ from pipecat.pipeline.task import PipelineParams, PipelineTask
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
from pipecat.runner.types import RunnerArguments
from pipecat.runner.utils import create_transport
from pipecat.services.whisper.stt import MLXModel, WhisperMLXSTTSettings, WhisperSTTServiceMLX
from pipecat.services.whisper.stt import MLXModel, WhisperSTTServiceMLX
from pipecat.transports.base_transport import BaseTransport, TransportParams
from pipecat.transports.daily.transport import DailyParams
from pipecat.transports.websocket.fastapi import FastAPIWebsocketParams
@@ -78,7 +78,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
logger.info(f"Starting bot")
stt = WhisperSTTServiceMLX(
settings=WhisperMLXSTTSettings(
settings=WhisperSTTServiceMLX.Settings(
model=MLXModel.LARGE_V3_TURBO,
),
)