Spaces:
Runtime error
Runtime error
jadechoghari
commited on
Commit
β’
306edbc
1
Parent(s):
ce5737c
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ pipeline_normal = FluxPipeline.from_pretrained(
|
|
30 |
# error_on_unseen=False
|
31 |
# )
|
32 |
|
33 |
-
@spaces.GPU
|
34 |
def generate_images(prompt, guidance_scale, num_inference_steps):
|
35 |
# generate image with normal pipeline
|
36 |
image_normal = pipeline_normal(
|
|
|
30 |
# error_on_unseen=False
|
31 |
# )
|
32 |
|
33 |
+
@spaces.GPU(duration=120)
|
34 |
def generate_images(prompt, guidance_scale, num_inference_steps):
|
35 |
# generate image with normal pipeline
|
36 |
image_normal = pipeline_normal(
|