Problem
The default model is currently selected at runtime by reading models/stable_version.txt from the main branch of thonzik/sc-unveil.
This means the same installed scunveil package version can load different weights at different times if the text file—or files inside the referenced model directory—is changed on Hugging Face. This makes results difficult to reproduce and allows an already-published package release to change behavior remotely.
Proposed solution
Bind every scunveil package release to a specific model directory and immutable Hugging Face commit:
SCUNVEIL_MODEL_REPO = "thonzik/sc-unveil"
DEFAULT_MODEL_VERSION = "2026-07-09_18-42-14_full"
DEFAULT_MODEL_REVISION = "<full-hugging-face-commit-sha>"
Problem
The default model is currently selected at runtime by reading
models/stable_version.txtfrom themainbranch ofthonzik/sc-unveil.This means the same installed
scunveilpackage version can load different weights at different times if the text file—or files inside the referenced model directory—is changed on Hugging Face. This makes results difficult to reproduce and allows an already-published package release to change behavior remotely.Proposed solution
Bind every
scunveilpackage release to a specific model directory and immutable Hugging Face commit: