Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ prompt = "high quality"
|
|
55 |
) = pipe.encode_prompt(prompt, "cuda", True)
|
56 |
|
57 |
|
58 |
-
|
59 |
"""
|
60 |
def fill_image(image, model_selection):
|
61 |
|
@@ -103,6 +103,7 @@ def fill_image(image, model_selection):
|
|
103 |
yield background, cnet_image
|
104 |
"""
|
105 |
|
|
|
106 |
def fill_image(image, model_selection):
|
107 |
source = image
|
108 |
target_ratio=(9, 16)
|
|
|
55 |
) = pipe.encode_prompt(prompt, "cuda", True)
|
56 |
|
57 |
|
58 |
+
|
59 |
"""
|
60 |
def fill_image(image, model_selection):
|
61 |
|
|
|
103 |
yield background, cnet_image
|
104 |
"""
|
105 |
|
106 |
+
@spaces.GPU
|
107 |
def fill_image(image, model_selection):
|
108 |
source = image
|
109 |
target_ratio=(9, 16)
|