Spaces:
Configuration error
Configuration error
Update ip_adapter_inpainting.py
Browse files- ip_adapter_inpainting.py +1 -1
ip_adapter_inpainting.py
CHANGED
@@ -38,7 +38,7 @@ def generate(img_openpose_gen: Image, img_human: Image, img_clothes: Image, segm
|
|
38 |
strength=0.8,
|
39 |
guidance_scale=7,
|
40 |
scale=0.8
|
41 |
-
)
|
42 |
|
43 |
cropped_head = get_cropped(img_openpose_gen, 13, False)
|
44 |
ip_gen_final = alpha_composite(ip_gen.convert("RGBA"),
|
|
|
38 |
strength=0.8,
|
39 |
guidance_scale=7,
|
40 |
scale=0.8
|
41 |
+
)[0]
|
42 |
|
43 |
cropped_head = get_cropped(img_openpose_gen, 13, False)
|
44 |
ip_gen_final = alpha_composite(ip_gen.convert("RGBA"),
|