Update app.py
Browse files50 unmodified lines5152535455565750 unmodified linesMAX_LEN = 512 # model window (tokens)STRIDE = 128 # overlap between windows β no blind spots at joinsTHRESHOLD = 0.0 # logit threshold (UI slider can tighten it)MAX_TEXT_CHARS = 30_000 # keep in sync with DETECT_MAX_CHARS in pii.tsMAX_WINDOWS = 96 # hard ceiling on windows per request (runaway guard)# ββ Thread count: cgroup CPU quota, not sched_getaffinity βββββββββββββββββββββ50 unmodified lines5152535455565750 unmodified linesMAX_LEN = 512 # model window (tokens)STRIDE = 128 # overlap between windows β no blind spots at joinsTHRESHOLD = 0.0 # logit threshold (UI slider can tighten it)MAX_TEXT_CHARS = 50_000 # keep in sync with DETECT_MAX_CHARS in pii.tsMAX_WINDOWS = 96 # hard ceiling on windows per request (runaway guard)# ββ Thread count: cgroup CPU quota, not sched_getaffinity βββββββββββββββββββββ
app.py+1-1