From b73c863d4e07cd91bcfb53352ea411367363f324 Mon Sep 17 00:00:00 2001 From: concarne000 <49512595+concarne000@users.noreply.github.com> Date: Sun, 20 Jul 2025 21:18:13 +1000 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 8c28bcd..0cdf32a 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,13 @@ Simple stack push/pop for images, strings and integers. The main use of this is to reduce unloading and loading of models when there are multiple steps in a workflow. E.g. using an SDXL model with ControlNet to create images to later feed into an Image to Video model. + +The Push nodes will save a file in the specified folder, default being a 'Stack' folder under the 'ComfyUI' folder. It will save a PNG for images, and text files for strings and numbers. + +The Pop will take the last file that was saved in the stack, and then delete it. + +The 'Key' can be considered the variable name of the stack. For example, you could have two StackPushInt nodes, one with the key of 'width' and the other 'height', then be able to pull the right number in the next workflow for each variable. + +# Todo +Clean the key text +Allow the stack to pop a default value if it is empty