Spaces:
Running
on
T4
Running
on
T4
liuyizhang
commited on
Commit
•
50258c9
1
Parent(s):
d25c2a0
update app.py
Browse files
app.py
CHANGED
@@ -712,9 +712,6 @@ def run_anything_task(input_image, text_prompt, task_type, inpaint_prompt, box_t
|
|
712 |
mask_pil = input_mask_pil
|
713 |
mask = input_mask
|
714 |
else:
|
715 |
-
logger.info(f'masks_shape={masks.shape}')
|
716 |
-
logger.info(f'masks={masks}')
|
717 |
-
|
718 |
masks_ori = copy.deepcopy(masks)
|
719 |
if inpaint_mode == 'merge':
|
720 |
masks = torch.sum(masks, dim=0).unsqueeze(0)
|
|
|
712 |
mask_pil = input_mask_pil
|
713 |
mask = input_mask
|
714 |
else:
|
|
|
|
|
|
|
715 |
masks_ori = copy.deepcopy(masks)
|
716 |
if inpaint_mode == 'merge':
|
717 |
masks = torch.sum(masks, dim=0).unsqueeze(0)
|