Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def fill_image(image, model_selection):
|
|
102 |
cnet_image.paste(image, (0, 0), mask)
|
103 |
|
104 |
yield background, cnet_image
|
105 |
-
|
106 |
|
107 |
@spaces.GPU
|
108 |
def fill_image(image, model_selection):
|
@@ -223,6 +223,8 @@ def fill_image(image, model_selection):
|
|
223 |
|
224 |
yield background, cnet_image
|
225 |
|
|
|
|
|
226 |
|
227 |
def clear_result():
|
228 |
return gr.update(value=None)
|
|
|
102 |
cnet_image.paste(image, (0, 0), mask)
|
103 |
|
104 |
yield background, cnet_image
|
105 |
+
"""
|
106 |
|
107 |
@spaces.GPU
|
108 |
def fill_image(image, model_selection):
|
|
|
223 |
|
224 |
yield background, cnet_image
|
225 |
|
226 |
+
"""
|
227 |
+
|
228 |
|
229 |
def clear_result():
|
230 |
return gr.update(value=None)
|