mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix backwards logic
This commit is contained in:
parent
f1ffb5b51b
commit
407d70a987
@ -531,7 +531,7 @@ The vast majority of these arguments default to reasonable values.
|
||||
if strength < 1.0:
|
||||
# Resize the image to the new image if the sizes have changed
|
||||
if restored_img.size != image.size:
|
||||
res = res.resize(image.size)
|
||||
image = image.resize(res.size)
|
||||
res = Image.blend(image, res, strength)
|
||||
|
||||
return res
|
||||
|
Loading…
Reference in New Issue
Block a user