harshit8889182225's picture
Deploy pipecat VAD + Smart Turn v3.2 simulator
1f72abd verified
|
Raw
History Blame Contribute Delete
1.13 kB

A newer version of the Gradio SDK is available: 6.20.0

Upgrade
metadata
title: Pipecat VAD + Smart Turn v3.2 Simulator
emoji: πŸŽ™οΈ
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 6.19.0
app_file: app.py
pinned: false

Pipecat pipeline simulator β€” VAD ➜ Smart Turn v3.2

Replays an audio clip through the exact logic pipecat runs in a live call:

audio chunks β†’ Silero VAD β†’ (after stop_secs of silence) β†’ Smart Turn v3.2

The Silero VAD state machine and the Smart Turn audio-buffering / segment extraction are faithfully ported from pipecat. Every time VAD detects the user stopped speaking, the buffered segment is handed to Smart Turn and the end-of-turn decision is reported β€” with the exact audio that was fed to the model playable per turn.

All VAD and Smart Turn parameters are editable in the UI:

  • VAD: confidence, start_secs, stop_secs, min_volume
  • Smart Turn: pre_speech_ms, max_duration_secs, stop_secs fallback, decision threshold
  • Simulation: chunk size, trailing silence

Inference (Silero VAD + Smart Turn ONNX models) runs on the Space CPU via onnxruntime.