diff --git a/api/onnx_web/chain/blend_img2img.py b/api/onnx_web/chain/blend_img2img.py index 7334ce60e..f5b5a2a65 100644 --- a/api/onnx_web/chain/blend_img2img.py +++ b/api/onnx_web/chain/blend_img2img.py @@ -52,6 +52,8 @@ def run( pipe_params["controlnet_conditioning_scale"] = strength elif pipe_type == "img2img": pipe_params["strength"] = strength + elif pipe_type == "lpw": + pipe_params["strength"] = strength elif pipe_type == "panorama": pipe_params["strength"] = strength elif pipe_type == "pix2pix":