This commit is contained in:
thecooltechguy
2024-01-25 00:37:20 -08:00
parent 760747fd53
commit d1f69ec222
+2 -2
View File
@@ -13,6 +13,7 @@ from tqdm.asyncio import tqdm
import folder_paths
import server
import os
NODE_CLASS_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS = {}
@@ -23,12 +24,11 @@ __all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
comfy_path = os.path.dirname(folder_paths.__file__)
custom_nodes_path = os.path.join(comfy_path, 'custom_nodes')
CW_ENDPOINT = "http://localhost:3000" #"https://comfyworkflows.com" #"http://localhost:3000"
CW_ENDPOINT = os.environ.get("CW_ENDPOINT", "https://comfyworkflows.com")
import re
import unicodedata
def slugify(value, allow_unicode=False):
"""
Taken from https://github.com/django/django/blob/master/django/utils/text.py