Skip to content

Commit

Permalink
fix(api): blend source and noise in correct order
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 15, 2023
1 parent f142418 commit eedea93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,6 @@ def expand_image(

full_mask = mask_filter(mask_image, dims, origin)
full_noise = noise_source(source_image, dims, origin)
full_source = Image.composite(full_source, full_noise, full_mask.convert('L'))
full_source = Image.composite(full_noise, full_source, full_mask.convert('L'))

return (full_source, full_mask, full_noise, (full_width, full_height))

0 comments on commit eedea93

Please sign in to comment.