From e6cca92351da056ede38aa05c0569d15889082f5 Mon Sep 17 00:00:00 2001 From: Chris Overtveld Date: Sun, 7 Apr 2024 14:26:51 +0200 Subject: [PATCH] Update nodes.py save_images to have %width and %height There's probably a reason this is not in the main branch, I assume because of certain node conflicts but it works for me! --- nodes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nodes.py b/nodes.py index a45f4c2..ae7a868 100644 --- a/nodes.py +++ b/nodes.py @@ -456,6 +456,8 @@ class SDPromptSaver: "%seed": seed, "%steps": steps, "%cfg": cfg, + "%width": width, + "%height": height, "%extension": extension, "%model": Path(model_name_real).stem, "%sampler": sampler_name_real,