feat: forward language code and more config settings

This commit is contained in:
2026-01-30 20:12:48 +01:00
parent 76581db30b
commit e1a7b69f76
3 changed files with 91 additions and 12 deletions

View File

@@ -1,19 +1,26 @@
# config.py
SYNC_CONFIG = {
# System
"device": "cpu", # 'cuda' for NVIDIA GPU, 'cpu' for Processor
"compute_type": "int8", # 'float16' for GPU, 'int8' for CPU
# Sampling
"sample_count": 20,
"scan_duration_sec": 45,
"scan_duration_sec": 75,
# Matching
"min_match_count": 3,
"min_match_score": 0.70,
"search_window_sec": 30,
# Whisper Settings
"beam_size": 5, # 5 is more accurate, 1 is faster
"vad_filter": True, # Remove silence
"vad_min_silence": 500, # Milliseconds
# Logic & Decision Thresholds
"fix_drift": True,
"correction_method": "auto", # Options: "auto", "constant", "force_elastic"
"correction_method": "auto",
"jitter_tolerance_ms": 300,
"min_drift_slope": 0.00005,
"linear_r2_threshold": 0.80,
}
}