altayavci commited on
Commit
fe03383
1 Parent(s): 704f56d

Update ip_adapter_inpainting.py

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