Skip to content

Commit

Permalink
fix: consumer bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LTSGOD committed Jul 28, 2023
1 parent abe2446 commit 4c59308
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def pipe(self,image:Image.Image,input_bbox:np.array,prompt:str,negative_prompt:s
crop_mask = ImageChops.invert(crop_mask)

#5. 애니 생성 후 원본 이미지 크기의 마스크 만들기
after_mask = mask_composit(image=image,crop_mask=crop_mask, input_bbox=input_bbox)
after_mask = mask_composit(image=image,crop_img=crop_mask, input_bbox=input_bbox)

#6. 위에서 추출된 마스크 이외의 배경 제거
after_segment_img = mask_composit2(image, target_image, input_bbox)
Expand Down

0 comments on commit 4c59308

Please sign in to comment.