SynLayers commited on
Commit
a9d3a48
·
1 Parent(s): 1823a4c

reduce zerogpu duration

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def read_int_env(name: str, default: int) -> int:
59
 
60
 
61
  ZERO_GPU_SIZE = (os.environ.get("SYNLAYERS_ZERO_GPU_SIZE", "large").strip() or "large").lower()
62
- ZERO_GPU_DURATION = max(60, read_int_env("SYNLAYERS_ZERO_GPU_DURATION", 300))
63
 
64
 
65
  def list_example_images(limit: int = 6) -> list[list[str]]:
 
59
 
60
 
61
  ZERO_GPU_SIZE = (os.environ.get("SYNLAYERS_ZERO_GPU_SIZE", "large").strip() or "large").lower()
62
+ ZERO_GPU_DURATION = max(60, read_int_env("SYNLAYERS_ZERO_GPU_DURATION", 120))
63
 
64
 
65
  def list_example_images(limit: int = 6) -> list[list[str]]: