Spaces:
Runtime error
Runtime error
liuyizhang
commited on
Commit
•
c8a8dc4
1
Parent(s):
0bfb07f
update app.py
Browse files
app.py
CHANGED
@@ -677,7 +677,7 @@ def run_anything_task(input_image, text_prompt, task_type, inpaint_prompt, box_t
|
|
677 |
|
678 |
logger.info(f'run_anything_task_[{file_temp}]_{task_type}_6_')
|
679 |
image_inpainting = lama_cleaner_process(np.array(image_pil), np.array(mask_pil.convert("L")), cleaner_size_limit)
|
680 |
-
output_images.append(image_inpainting)
|
681 |
|
682 |
logger.info(f'run_anything_task_[{file_temp}]_{task_type}_7_')
|
683 |
image_inpainting = image_inpainting.resize((image_pil.size[0], image_pil.size[1]))
|
|
|
677 |
|
678 |
logger.info(f'run_anything_task_[{file_temp}]_{task_type}_6_')
|
679 |
image_inpainting = lama_cleaner_process(np.array(image_pil), np.array(mask_pil.convert("L")), cleaner_size_limit)
|
680 |
+
# output_images.append(image_inpainting)
|
681 |
|
682 |
logger.info(f'run_anything_task_[{file_temp}]_{task_type}_7_')
|
683 |
image_inpainting = image_inpainting.resize((image_pil.size[0], image_pil.size[1]))
|
dog.png
CHANGED