Spaces:
Running
on
Zero
Running
on
Zero
Enable ZeroGPU queue (beta feature)
Browse filesInstead of the "No GPU is currently available", visitors should see a "Waiting for a GPU to become available" message if not GPU is available at the moment
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 = "",
|