Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ prompt = "high quality"
|
|
| 53 |
) = pipe.encode_prompt(prompt, "cuda", True)
|
| 54 |
|
| 55 |
|
| 56 |
-
@spaces.GPU
|
| 57 |
def fill_image(image, model_selection):
|
| 58 |
source = image["background"]
|
| 59 |
mask = image["layers"][0]
|
|
|
|
| 53 |
) = pipe.encode_prompt(prompt, "cuda", True)
|
| 54 |
|
| 55 |
|
| 56 |
+
@spaces.GPU(duration=16)
|
| 57 |
def fill_image(image, model_selection):
|
| 58 |
source = image["background"]
|
| 59 |
mask = image["layers"][0]
|