Centralize configuration into config.yaml

- All settings moved to config.yaml
- configs/load.py reads from config.yaml with env var overrides
- Environment variables still work for backward compatibility
- Added pyyaml to requirements
This commit is contained in:
2026-06-10 10:19:41 +08:00
parent 4485cbf702
commit c8fd057129
10 changed files with 123 additions and 40 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ from loguru import logger
from app.audio.rep_announcer import RepAnnouncer
from app.exercises.dead_bug.detector import DeadBugDetector
from app.rendering.window_display import close_window, is_esc_pressed, show_frame
from configs.default import (
from configs.load import (
EXTENSION_CONFIRM_FRAMES,
MODEL_PATH,
PREFER_GPU,