Spaces:
Running
on
Zero
Running
on
Zero
philipp-zettl
commited on
Commit
•
5de7ece
1
Parent(s):
8ee496d
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ compel = Compel(
|
|
21 |
)
|
22 |
|
23 |
|
24 |
-
@spaces.GPU
|
25 |
def generate(prompt, negative_prompt, num_inference_steps, guidance_scale, width, height, num_samples):
|
26 |
embeds, pooled = compel(prompt)
|
27 |
neg_embeds, neg_pooled = compel(negative_prompt)
|
|
|
21 |
)
|
22 |
|
23 |
|
24 |
+
@spaces.GPU(duration=120)
|
25 |
def generate(prompt, negative_prompt, num_inference_steps, guidance_scale, width, height, num_samples):
|
26 |
embeds, pooled = compel(prompt)
|
27 |
neg_embeds, neg_pooled = compel(negative_prompt)
|