Skip to content

Commit

Permalink
fix(api): pass strength to LPW pipe from img2img blend
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jul 3, 2023
1 parent 3653723 commit a9fa767
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/onnx_web/chain/blend_img2img.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit a9fa767

Please sign in to comment.