29 lines
713 B
Python
29 lines
713 B
Python
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": 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",
|
|
"jitter_tolerance_ms": 300,
|
|
"min_drift_slope": 0.00005,
|
|
"linear_r2_threshold": 0.80,
|
|
|
|
"create_backup": True,
|
|
}
|