readme
This commit is contained in:
@@ -1 +1,12 @@
|
||||
# ComfyUI-RandomSize
|
||||
# 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
|
||||
```
|
||||
@@ -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,
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user