mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
Update async_worker.py (#561)
This commit is contained in:
@@ -440,7 +440,7 @@ def worker():
|
|||||||
cn_img = HWC3(cn_img)
|
cn_img = HWC3(cn_img)
|
||||||
|
|
||||||
# https://github.com/tencent-ailab/IP-Adapter/blob/d580c50a291566bbf9fc7ac0f760506607297e6d/README.md?plain=1#L75
|
# 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)
|
task[0] = ip_adapter.preprocess(cn_img)
|
||||||
if advanced_parameters.debugging_cn_preprocessor:
|
if advanced_parameters.debugging_cn_preprocessor:
|
||||||
|
|||||||
Reference in New Issue
Block a user