Enable ZeroGPU queue (beta feature)

#8
by cbensimon HF staff - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
56
  return seed
57
 
58
 
59
- @spaces.GPU
60
  def generate(
61
  prompt: str,
62
  negative_prompt: str = "",
 
56
  return seed
57
 
58
 
59
+ @spaces.GPU(enable_queue=True)
60
  def generate(
61
  prompt: str,
62
  negative_prompt: str = "",