Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ def add_overlay(base_img, overlay_img, margin=20):
|
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
-
@spaces.GPU
|
| 79 |
def infer(input_image, input_image_upload, overlay_image, prompt="make it real", seed=42, randomize_seed=False, guidance_scale=2.5, steps=28, progress=gr.Progress(track_tqdm=True)):
|
| 80 |
"""
|
| 81 |
Perform image editing using the FLUX.1 Kontext pipeline.
|
|
|
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
+
@spaces.GPU(duration=45)
|
| 79 |
def infer(input_image, input_image_upload, overlay_image, prompt="make it real", seed=42, randomize_seed=False, guidance_scale=2.5, steps=28, progress=gr.Progress(track_tqdm=True)):
|
| 80 |
"""
|
| 81 |
Perform image editing using the FLUX.1 Kontext pipeline.
|