altayavci commited on
Commit
175001f
1 Parent(s): 2b697c6

Update ip_adapter_inpainting.py

Browse files
Files changed (1) hide show
  1. ip_adapter_inpainting.py +2 -1
ip_adapter_inpainting.py CHANGED
@@ -23,7 +23,8 @@ def generate(img_openpose_gen: Image, img_human: Image, img_clothes: Image, segm
23
  )
24
  composite = overlay_on_white_background(composite)
25
 
26
- mask = get_blurred_mask(composite, segment_id)
 
27
  prompt = derive_caption(img_clothes)
28
 
29
  ip_gen = ip_model.model.generate(
 
23
  )
24
  composite = overlay_on_white_background(composite)
25
 
26
+ #mask = get_blurred_mask(composite, segment_id)
27
+ mask = get_blurred_mask(img_human, segment_id)
28
  prompt = derive_caption(img_clothes)
29
 
30
  ip_gen = ip_model.model.generate(