Updated Smart Turn model weights to v3.2

This commit is contained in:
marcus-daily
2026-01-07 17:23:11 +00:00
parent 54cf0116a8
commit d1bedef5b3
3 changed files with 3 additions and 3 deletions

View File

@@ -162,7 +162,7 @@ where = ["src"]
"src/pipecat/audio/dtmf/dtmf-star.wav",
]
"pipecat.services.aws_nova_sonic" = ["src/pipecat/services/aws_nova_sonic/ready.wav"]
"pipecat.audio.turn.smart_turn.data" = ["src/pipecat/audio/turn/smart_turn/data/smart-turn-v3.1-cpu.onnx"]
"pipecat.audio.turn.smart_turn.data" = ["src/pipecat/audio/turn/smart_turn/data/smart-turn-v3.2-cpu.onnx"]
[tool.pytest.ini_options]
addopts = "--verbose"

View File

@@ -42,7 +42,7 @@ class LocalSmartTurnAnalyzerV3(BaseSmartTurn):
Args:
smart_turn_model_path: Path to the ONNX model file. If this is not
set, the bundled smart-turn-v3.1-cpu model will be used.
set, the bundled smart-turn-v3.2-cpu model will be used.
cpu_count: The number of CPUs to use for inference. Defaults to 1.
**kwargs: Additional arguments passed to BaseSmartTurn.
"""
@@ -50,7 +50,7 @@ class LocalSmartTurnAnalyzerV3(BaseSmartTurn):
if not smart_turn_model_path:
# Load bundled model
model_name = "smart-turn-v3.1-cpu.onnx"
model_name = "smart-turn-v3.2-cpu.onnx"
package_path = "pipecat.audio.turn.smart_turn.data"
try: