fix bug tuple needed for thumbnail function
This commit is contained in:
parent
13778778f9
commit
725896ecc0
|
|
@ -62,7 +62,7 @@ class Img2Img:
|
||||||
if isinstance(reference_image, str):
|
if isinstance(reference_image, str):
|
||||||
reference_image = (
|
reference_image = (
|
||||||
base64_to_image(reference_image)
|
base64_to_image(reference_image)
|
||||||
.thumbnail(config.get_width(), config.get_height())
|
.thumbnail((config.get_width(), config.get_height()))
|
||||||
.convert("RGB")
|
.convert("RGB")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue