Spaces:
Running
on
Zero
Running
on
Zero
Update app_inpaint2.py
Browse files- app_inpaint2.py +1 -1
app_inpaint2.py
CHANGED
|
@@ -60,7 +60,7 @@ def load_default_pipeline():
|
|
| 60 |
).to("cuda")
|
| 61 |
print("Default pipeline loaded!")
|
| 62 |
|
| 63 |
-
@spaces.GPU(duration=
|
| 64 |
def fill_image(prompt, image, model_selection, paste_back):
|
| 65 |
"""
|
| 66 |
Handles the fill/repair process for inputs from ImageMask (gr. ImageMask). Applies a default 5% expansion to user-drawn masks here.
|
|
|
|
| 60 |
).to("cuda")
|
| 61 |
print("Default pipeline loaded!")
|
| 62 |
|
| 63 |
+
@spaces.GPU(duration=15)
|
| 64 |
def fill_image(prompt, image, model_selection, paste_back):
|
| 65 |
"""
|
| 66 |
Handles the fill/repair process for inputs from ImageMask (gr. ImageMask). Applies a default 5% expansion to user-drawn masks here.
|