rayli commited on
Commit
513c2ae
·
verified ·
1 Parent(s): 14bbdc3

Set ZeroGPU request duration to 20 seconds

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3512,7 +3512,7 @@ def _preload_weights_enabled() -> bool:
3512
 
3513
 
3514
  def _spaces_gpu(fn):
3515
- duration = max(1, min(int(os.environ.get("SPACES_GPU_DURATION", "10")), 10))
3516
  return spaces.GPU(duration=duration)(fn)
3517
 
3518
 
 
3512
 
3513
 
3514
  def _spaces_gpu(fn):
3515
+ duration = max(1, min(int(os.environ.get("SPACES_GPU_DURATION", "20")), 20))
3516
  return spaces.GPU(duration=duration)(fn)
3517
 
3518