Renaming the smart turn classes.

This commit is contained in:
Filipi Fuchter
2025-04-17 10:43:21 -03:00
parent 88ce117e84
commit e2fbbb4b40
4 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ except ModuleNotFoundError as e:
raise Exception(f"Missing module: {e}")
class LocalSmartTurnAnalyzer(BaseSmartTurn):
class LocalCoreMLSmartTurnAnalyzer(BaseSmartTurn):
def __init__(self, **kwargs):
super().__init__(**kwargs)
# To use this locally, set the environment variable LOCAL_SMART_TURN_MODEL_PATH

View File

@@ -16,7 +16,7 @@ from loguru import logger
from pipecat.audio.turn.base_smart_turn import BaseSmartTurn
class RemoteSmartTurnAnalyzer(BaseSmartTurn):
class SmartTurnAnalyzer(BaseSmartTurn):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.remote_smart_turn_url = os.getenv("REMOTE_SMART_TURN_URL")