From 15f8da2849adff21188bcbe76a9f386d33e3a178 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Sun, 22 Jan 2023 14:59:34 -0500 Subject: [PATCH] Add a LoadImage node to load images for img2img. --- input/example.png | Bin 0 -> 8589 bytes nodes.py | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 input/example.png diff --git a/input/example.png b/input/example.png new file mode 100644 index 0000000000000000000000000000000000000000..7b7f3c9cbbe6d8750c4a9eaf65d6ae4d2f108f79 GIT binary patch literal 8589 zcma)ic|26#`}m!iYYdr8){N~+qNrp-F`=nS1Ve&U2pUInREbW!PB}#mV9j1QBhl zEw)1t4m{!@0v7xzbzW)t>m|6NIf#g5?^EOlj2QmYOv>Xa;T@J8z>Lcg# zpumrX_0YNAOK+T^=PZ{4Q26-@snx8#@7CzD?mgOnRSwPa+a>SrS8fJgeqXb?9n)b-JsDl!e2b!ruW~;V zb>PvS8zC&7>qL^9i*#JlXN*qNQ|E4&qg~vx)39?%9?DwJz^yC0J{a^P({bdzeQ-hh zEW3iKYZbn{5n<3|c0^$HfBY~xm>)Ep{$d}QuW^O$j*%$1r^fOw(mQiANZV~Tdv0<% zS8&BjaD3mp#K}Rgb=Yxr7R+5+ax3_3C&r-pA{d81k6)gU%L?M# zZ&B6ow84(=e|n1v?JU&k-3sPAvD%MB&fLJHG0Qm`Vh^9lDV^SMY^yT(-WShd0W?2^F&?PS`C{tAdCWN~!xgo;1 zzBVG^8Het;3~6}3e^{ZnTFpH;>x3aeE28$g$E_E<@;!8`D!$Z{;o2Vkx;+o+GLG)= zlwURN9voO5(2lu%pb+y_?!n5ztLXy&Wd+rJYQu2llxBQVzSSG=s^s4sWaj>ha_k|p z!~RF3i%EO3^x8GB^X{ zqb>&4BlHyz#+-{DO8^`zccB_^Qqxg_L&yF6qcJ};=~tL5hojPNy?bLPw~}f6N{l2c zXGKwS`tV+HPwwVcTiFWdf%7@lzspiEc+^f4YZ1nB-VJ+nGW~8H=2T$yqn7upv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