Upload custom_nodes/rgthree-comfy/py/constants.py with huggingface_hub
Browse files
custom_nodes/rgthree-comfy/py/constants.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
NAMESPACE='rgthree'
|
| 3 |
+
|
| 4 |
+
def get_name(name):
|
| 5 |
+
return '{} ({})'.format(name, NAMESPACE)
|
| 6 |
+
|
| 7 |
+
def get_category(sub_dirs = None):
|
| 8 |
+
if sub_dirs is None:
|
| 9 |
+
return NAMESPACE
|
| 10 |
+
else:
|
| 11 |
+
return "{}/utils".format(NAMESPACE)
|