Spaces:
Building
Building
Case Zero - initial public release (fully local: Qwen2.5-1.5B via llama.cpp + Supertonic, custom pixel-noir SPA via gradio.Server)
414dc55 | """Filesystem path helpers. Creates runtime dirs lazily; never writes at import.""" | |
| from __future__ import annotations | |
| from pathlib import Path | |
| from ..constants import CASES_DIR, SEED_CASES_DIR | |
| def runtime_cases_dir() -> Path: | |
| path = CASES_DIR / "runtime" | |
| path.mkdir(parents=True, exist_ok=True) | |
| return path | |
| def prebaked_cases_dir() -> Path: | |
| """Shipped pool of full, model-authored cases served instantly on New Case (a warm | |
| start so the player never waits ~2 min for live generation). Committed, read-only.""" | |
| return CASES_DIR / "prebaked" | |
| def seed_case_path(name: str) -> Path: | |
| return SEED_CASES_DIR / f"{name}.json" | |