Spaces:
Configuration error
Configuration error
Update ip_adapter_inpainting.py
Browse files- 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=
|
32 |
num_samples=1,
|
33 |
num_inference_steps=50,
|
34 |
-
seed=
|
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,
|