Spaces:
Running
on
Zero
Running
on
Zero
Enable ZeroGPU queue (beta feature)
#8
by
cbensimon
HF staff
- opened
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 = "",
|