from typing import Final from stt_streamers import DeepgramStreamer, SonioxStreamer CHUNK_SIZE: Final = 1024 TIMEOUT_FACTOR_MB: Final = 60 BASE_TIMEOUT_SECONDS: Final = 120 MODEL_ID: Final = "quail-vf-2.2-l-16khz" VAD_MODEL_ID: Final = "quail-vad-2.0-xxs-16khz" MINUTES_KEEP: Final = 60 # All app temp files (spectrograms, audio, etc.) go here so we only purge our own files. APP_TMP_DIR: Final = "/tmp/voicefocus" DATASET_NAME: Final = "ai-coustics/voice-focus-examples" DEFAULT_SPLIT: Final = "eval" STREAM_EVERY: Final = 0.2 WARMUP_SECONDS: Final = 2 # seconds before "recording ready" light turns on TARGET_LOUDNESS: Final = -17.0 TARGET_TP: Final = -1.5 STREAMER_CLASSES: Final = { "Deepgram Nova-3 RT": DeepgramStreamer, "Soniox STT-RT v3": SonioxStreamer, } VAD_ON: Final = "🟢" VAD_OFF: Final = "⚫"