Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
b5e043c
1
Parent(s):
d7d24e9
Enable ZeroGPU queue (beta feature) (#8)
Browse files- Enable ZeroGPU queue (beta feature) (d29a2418eaffa382f15f43c3b8dc70c515846a1b)
Co-authored-by: Charles Bensimon <[email protected]>
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 = "",
|