Spaces:
Sleeping
Sleeping
Plus ZeroGPU shell
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ if not PRIVATE_REPO_TOKEN:
|
|
| 26 |
|
| 27 |
PKG_ROOT = Path("/tmp/brplus_pkg")
|
| 28 |
RUNTIME_ROOT = Path("/tmp/runtime")
|
| 29 |
-
if not (RUNTIME_ROOT / "patch_runtime.py").is_file():
|
| 30 |
snapshot_download(
|
| 31 |
repo_id=PRIVATE_REPO_ID,
|
| 32 |
repo_type="model",
|
|
|
|
| 26 |
|
| 27 |
PKG_ROOT = Path("/tmp/brplus_pkg")
|
| 28 |
RUNTIME_ROOT = Path("/tmp/runtime")
|
| 29 |
+
if not (RUNTIME_ROOT / "patch_runtime.py").is_file() or os.environ.get("BRPLUS_FORCE_REFRESH", "1") == "1":
|
| 30 |
snapshot_download(
|
| 31 |
repo_id=PRIVATE_REPO_ID,
|
| 32 |
repo_type="model",
|