Spaces:
Sleeping
Sleeping
support mask
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def process_images(image, image2=None,inpaint_radius=3,blur_radius=25,edge_expan
|
|
34 |
|
35 |
output = opencvinpaint.process_image(image["background"],mask,inpaint_radius,blur_radius,edge_expand,inpaint_mode)
|
36 |
|
37 |
-
return output
|
38 |
|
39 |
|
40 |
# code from https://huggingface.co/spaces/diffusers/stable-diffusion-xl-inpainting/blob/main/app.py
|
|
|
34 |
|
35 |
output = opencvinpaint.process_image(image["background"],mask,inpaint_radius,blur_radius,edge_expand,inpaint_mode)
|
36 |
|
37 |
+
return output,mask
|
38 |
|
39 |
|
40 |
# code from https://huggingface.co/spaces/diffusers/stable-diffusion-xl-inpainting/blob/main/app.py
|