From 95067149852de51020cc396cb4b33d514198d9f7 Mon Sep 17 00:00:00 2001 From: lllyasviel Date: Sun, 8 Oct 2023 00:35:19 -0700 Subject: [PATCH] Update async_worker.py (#561) --- modules/async_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/async_worker.py b/modules/async_worker.py index bdbf2691..ba318842 100644 --- a/modules/async_worker.py +++ b/modules/async_worker.py @@ -440,7 +440,7 @@ def worker(): cn_img = HWC3(cn_img) # https://github.com/tencent-ailab/IP-Adapter/blob/d580c50a291566bbf9fc7ac0f760506607297e6d/README.md?plain=1#L75 - cn_img = resize_image(HWC3(cn_img), width=224, height=224, resize_mode=0) + cn_img = resize_image(cn_img, width=224, height=224, resize_mode=0) task[0] = ip_adapter.preprocess(cn_img) if advanced_parameters.debugging_cn_preprocessor: