Spaces:
Configuration error
Configuration error
Update ip_adapter_inpainting.py
Browse files- 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(
|
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(
|