liuyizhang commited on
Commit
eb4fd23
1 Parent(s): ae92c0a

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -660,7 +660,7 @@ def run_anything_task(input_image, text_prompt, task_type, inpaint_prompt, box_t
660
  image_inpainting.save(image_path)
661
  image_result = cv2.cvtColor(cv2.imread(image_path), cv2.COLOR_BGR2RGB)
662
  os.remove(image_path)
663
- logger.info(f'run_anything_task_[{file_temp}]_{task_type}_9__{type(image_inpainting)} / {tpye(image_result)}')
664
  output_images.append(image_result)
665
  return output_images, gr.Gallery.update(label='result images')
666
  else:
 
660
  image_inpainting.save(image_path)
661
  image_result = cv2.cvtColor(cv2.imread(image_path), cv2.COLOR_BGR2RGB)
662
  os.remove(image_path)
663
+ logger.info(f'run_anything_task_[{file_temp}]_{task_type}_9__{type(image_inpainting)} / {type(image_result)}')
664
  output_images.append(image_result)
665
  return output_images, gr.Gallery.update(label='result images')
666
  else: