bennyguo commited on
Commit
c038d42
·
1 Parent(s): 2c25d73

invert zerogpu flag

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -70,7 +70,8 @@ print(f"Added {code_source_path} to sys.path")
70
  # --- End Repo Setup ---
71
 
72
  # --- ZeroGPU Setup ---
73
- ENABLE_ZEROGPU = os.environ.get("ENABLE_ZEROGPU", "false").lower() in ("true", "1", "t")
 
74
  print(f"ZeroGPU Enabled: {ENABLE_ZEROGPU}")
75
  # --- End ZeroGPU Setup ---
76
 
 
70
  # --- End Repo Setup ---
71
 
72
  # --- ZeroGPU Setup ---
73
+ DISABLE_ZEROGPU = os.environ.get("DISABLE_ZEROGPU", "false").lower() in ("true", "1", "t")
74
+ ENABLE_ZEROGPU = not DISABLE_ZEROGPU
75
  print(f"ZeroGPU Enabled: {ENABLE_ZEROGPU}")
76
  # --- End ZeroGPU Setup ---
77