Merge branch 'kyle/fix-ultravox-performance' of github.com:CerebriumAI/pipecat into kyle/fix-ultravox-performance

This commit is contained in:
Kyle Gani
2025-05-05 17:13:26 +02:00

View File

@@ -222,7 +222,7 @@ class UltravoxSTTService(AIService):
logger.info(f"Initialized UltravoxSTTService with model: {model_name}")
async def warm_up_model(self):
async def _warm_up_model(self):
"""Warm up the model with silent audio to improve first inference performance.
This method generates a short segment of silent audio and runs it through
@@ -289,7 +289,7 @@ class UltravoxSTTService(AIService):
await super().start(frame)
self._connection_active = True
await self.warm_up_model()
await self._warm_up_model()
logger.info("UltravoxSTTService started")