diff --git a/README.md b/README.md index 8b2732a..acd109f 100644 --- a/README.md +++ b/README.md @@ -1 +1,12 @@ -# ComfyUI-RandomSize \ No newline at end of file +# ComfyUI-RandomSize + +A ComfyUI custom node that randomly selects a height and width pair from a list in a config file + +## + +Search for "RandomSize" in the Manager or: + +``` +cd [path to ComfyUI]/custom_nodes +git clone https://github.com/JerryOrbachJr/ComfyUI-RandomSize.git +``` \ No newline at end of file diff --git a/__init__.py b/__init__.py index 576f8cc..46ba48c 100644 --- a/__init__.py +++ b/__init__.py @@ -1,4 +1,11 @@ +""" +@author: JerryOrbachJr +@title: Random Size +@nickname: Random Size +@description: A ComfyUI custom node that randomly selects a height and width pair from a list in a config file +""" + from .random_size import RandomSize LIVE_NODE_CLASS_MAPPINGS = { "JOJR_RandomSize": RandomSize, diff --git a/random_size.py b/random_size.py index 3e39744..3ab99b3 100644 --- a/random_size.py +++ b/random_size.py @@ -7,7 +7,7 @@ def read_config(item): return yaml.safe_load(file)[item] class RandomSize: - CATEGORY = "quicknodes" + CATEGORY = "utils" RETURN_TYPES = ("INT","INT") RETURN_NAMES = ("width","height") FUNCTION = "func"