Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Less confusing exception if pillow() function fails.

comfyanonymousc75b50607b4a
diff --git a/node_helpers.py b/node_helpers.py
index fee628790..4b38bfff8 100644
--- a/node_helpers.py
+++ b/node_helpers.py
@@ -25,7 +25,7 @@ def pillow(fn, arg):
finally:
if prev_value is not None:
ImageFile.LOAD_TRUNCATED_IMAGES = prev_value
- return x
+ return x
def hasher():
hashfuncs = {