altayavci commited on
Commit
e8b2b96
1 Parent(s): fac84fc

Update ip_adapter_inpainting.py

Browse files
Files changed (1) hide show
  1. ip_adapter_inpainting.py +2 -2
ip_adapter_inpainting.py CHANGED
@@ -28,10 +28,10 @@ def generate(img_openpose_gen: Image, img_human: Image, img_clothes: Image, segm
28
 
29
  ip_gen = ip_model.model.generate(
30
  prompt=prompt,
31
- pil_image=alpha_composite_manuel(cropped_clothes), # img_clothes
32
  num_samples=1,
33
  num_inference_steps=50,
34
- seed=42,
35
  image=composite,
36
  mask_image=mask,
37
  strength=0.8,
 
28
 
29
  ip_gen = ip_model.model.generate(
30
  prompt=prompt,
31
+ pil_image=img_clothes
32
  num_samples=1,
33
  num_inference_steps=50,
34
+ seed=123,
35
  image=composite,
36
  mask_image=mask,
37
  strength=0.8,