Skip to content

Commit

Permalink
fix(api): remove alpha channel after blending but before upscaling (f…
Browse files Browse the repository at this point in the history
…ixes #148)
  • Loading branch information
ssube committed Feb 15, 2023
1 parent b5eeb44 commit 32a4bbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/onnx_web/diffusion/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ def run_blend_pipeline(
mask=mask,
callback=progress,
)
image = image.convert("RGB")

image = run_upscale_correction(
job, server, stage, params, image, upscale=upscale, callback=progress
Expand Down

0 comments on commit 32a4bbc

Please sign in to comment.