bear-ty commited on
Commit
cc13b19
·
verified ·
1 Parent(s): c8ebcea

Plus ZeroGPU shell

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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",