From db9602de1bec1fd33902fa8df58c172acd6b5c77 Mon Sep 17 00:00:00 2001 From: Ash Martian Date: Sun, 18 Feb 2024 13:28:09 -0800 Subject: [PATCH] ComfyUI Craftsman plug --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 81eaa01..82a7fa9 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Utility nodes to get directories right in ComfyUI. Ever want to select a random ![Scoot](docs/GIR_scoot.gif) +To create this custom node pack, I uploaded the sparse ComfyUI documentation and js source code to an OpenAi GPTs [ComfyUI Craftsman](https://chat.openai.com/g/g-pYtHuQdGh-comfyui-craftsman]), this GPTs is good at answering questions and offering guidance based on real ComfyUI implementations. + ## Installation Tkinker is required, launching this custom node will attempt to install automatically. If this fails, the Directory Picker will not work properly. See [TKinker Installation](https://tkdocs.com/tutorial/install.html) @@ -28,7 +30,7 @@ Then restart ComfyUI | :-------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | GIR Directory Picker![GIR Directory Picker](docs/DirectoryPicker.png) | **"Select Directory"** opens a GUI file browser using `tkinker`, the selected directory is persistent on disk (server restarts are no problem!), and available via output string. Changing the Selected Directory manually is supported too. | | GIR Loopy Dir![GIR Loopy Dir](docs/DirectoryLoop.png) | Directory in, automatic loopy-ness out. Auto-increment and auto resetting, when the `loop_index` reaches the end of filtered files in directory, goes back to zero. Filter by extension or regex, manually change `loop_index` to override! | -| GIR Image Nabber ![GIR Image Nabber](docs/ImageNabber.png) | A simple path to image node, for working with results of Loopy Dir without relying on an external node pack that has it's own directory filtering logic *(For videos, use [VHS Load Video (Path)](https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/blob/main/videohelpersuite/load_video_nodes.py#L197)*) | +| GIR Image Nabber ![GIR Image Nabber](docs/ImageNabber.png) | A simple path to image node, for working with results of Loopy Dir without relying on an external node pack that has it's own directory filtering logic _(For videos, use [VHS Load Video (Path)](https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/blob/main/videohelpersuite/load_video_nodes.py#L197)_) | | GIR Happy Dance!\* ![Let's Dance!](docs/GIR_Dance.gif) | These nodes simplify and streamline the process of directory selection and iteration, making complex tasks feel like a breeze. With the ability to effortlessly pick directories and loop through files with smart reset capabilities, GIR is over the moon, knowing users can focus on creativity and productivity, leaving the tedious parts to the automation magic of ComfyUI DirGir. | ## Examples @@ -47,9 +49,10 @@ A simple workflow using both nodes ![Loopy Demo](docs/Loopy_Demo.gif) Regex Usage + - The problem with using `LoadImagesFromPath` is it's own built in directory filtering and index logic. DIR Loopy Dir will output filtered indexes that don't always align (especially with regex). - Using `GIT Image Nabber` we can reliably load images from a direct path. -![Loopy Regex Demo](docs/Loopy_Regex_Demo.gif) + ![Loopy Regex Demo](docs/Loopy_Regex_Demo.gif) ![Muffin](docs/GIR_muffin.webp)