stemd: AUTO_SCAN off by default

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Sonnet 5.5 committed 2026-10-20 15:46:32 -07:00
1 parent 4ccb5051ca
commit 455d9a790c
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -20,7 +20,7 @@ Settings (environment):
MODEL roformer_bs_sw any id from stemify/catalog.py
DEVICE cuda cuda, cuda:N or cpu
RESCAN_MIN 30 minutes between scans once caught up
AUTO_SCAN 1 0 = never scan the library; only separate Stem Now requests
AUTO_SCAN 0 1 = scan the library on a timer; 0 = only separate Stem Now requests
FP16 1 half precision on the GPU
OVERLAP / SEGMENT / SHIFTS as in the desktop app's settings
"""
@@ -48,7 +48,7 @@ MODELS_DIR = os.environ.get("MODELS_DIR", "/models")
MODEL = os.environ.get("MODEL", "roformer_bs_sw")
DEVICE = os.environ.get("DEVICE", "cuda")
RESCAN_S = float(os.environ.get("RESCAN_MIN", "30")) * 60
AUTO_SCAN = os.environ.get("AUTO_SCAN", "1") not in ("0", "false", "no", "")
AUTO_SCAN = os.environ.get("AUTO_SCAN", "0") in ("1", "true", "yes")
FP16 = os.environ.get("FP16", "1") not in ("0", "false", "no", "")
OVERLAP = float(os.environ.get("OVERLAP", "0.25"))
SEGMENT = float(os.environ.get("SEGMENT", "0"))