From 725896ecc0c8aaa02516ef5e0c99b691d3059a2d Mon Sep 17 00:00:00 2001 From: HappyZ Date: Sun, 30 Apr 2023 21:08:16 -0700 Subject: [PATCH] fix bug tuple needed for thumbnail function --- utilities/img2img.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/img2img.py b/utilities/img2img.py index 27129f5..4178e38 100644 --- a/utilities/img2img.py +++ b/utilities/img2img.py @@ -62,7 +62,7 @@ class Img2Img: if isinstance(reference_image, str): reference_image = ( base64_to_image(reference_image) - .thumbnail(config.get_width(), config.get_height()) + .thumbnail((config.get_width(), config.get_height())) .convert("RGB") )