Spaces:
Sleeping
Sleeping
support mask
Browse files
app.py
CHANGED
@@ -13,7 +13,8 @@ def sanitize_prompt(prompt):
|
|
13 |
return sanitized_prompt
|
14 |
|
15 |
#@spaces.GPU(duration=120)
|
16 |
-
def process_images(image, image2=None,inpaint_radius=3,blur_radius=25,edge_expand=8,inpaint_mode="Telea"):
|
|
|
17 |
# I'm not sure when this happen
|
18 |
if not isinstance(image, dict):
|
19 |
if image2 == None:
|
|
|
13 |
return sanitized_prompt
|
14 |
|
15 |
#@spaces.GPU(duration=120)
|
16 |
+
def process_images(image, image2=None,inpaint_radius=3,blur_radius=25,edge_expand=8,inpaint_mode="Telea",progress=gr.Progress(track_tqdm=True)):
|
17 |
+
progress(0, desc="Start Inpainting")
|
18 |
# I'm not sure when this happen
|
19 |
if not isinstance(image, dict):
|
20 |
if image2 == None:
|