# SPDX-License-Identifier: Apache-2.0 """Paths of the development device / golden checks (dev_*.py): set GLMOCR_ASSETS (the golden set built by research/glmocr/golden/*.py) and GLMOCR_MODEL (a local zai-org/GLM-OCR checkpoint directory).""" import os ASSETS = os.environ.get("GLMOCR_ASSETS") or "" MODEL = os.environ.get("GLMOCR_MODEL") or os.environ.get("GLMOCR_MODEL_DIR") or "" if not (ASSETS and MODEL): raise SystemExit("set GLMOCR_ASSETS (golden set dir) and GLMOCR_MODEL (checkpoint dir) for the dev checks")