Compare commits
71 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75047edf8a | ||
|
|
6ef14f8e36 | ||
|
|
d0111cef75 | ||
|
|
d8b4218e8f | ||
|
|
f1ae9a088c | ||
|
|
572ed554fd | ||
|
|
9e95607fb5 | ||
|
|
75b5d25c46 | ||
|
|
97fe1902e6 | ||
|
|
2c01be58d3 | ||
|
|
748a863866 | ||
|
|
e168f20d9e | ||
|
|
a32e551fd0 | ||
|
|
6f1bfae957 | ||
|
|
7f63e753d4 | ||
|
|
d457a0e0bc | ||
|
|
f2528d3573 | ||
|
|
456371447f | ||
|
|
e842148c20 | ||
|
|
078f9a1c53 | ||
|
|
26077d3a6b | ||
|
|
4d40a637ed | ||
|
|
325ce9f2f4 | ||
|
|
7f1fe746ca | ||
|
|
49babe8f78 | ||
|
|
02b9f0911d | ||
|
|
701d22643e | ||
|
|
f8ec9abfad | ||
|
|
2b4f5f5879 | ||
|
|
fe36d33e0d | ||
|
|
08f7394af0 | ||
|
|
5a61000daa | ||
|
|
8d1fd75c6c | ||
|
|
e6b46ebccf | ||
|
|
621ca13906 | ||
|
|
22e64af6b5 | ||
|
|
ed0acd6c23 | ||
|
|
7050a1f8f8 | ||
|
|
06982a1b68 | ||
|
|
f7ff3d1021 | ||
|
|
8593a7206b | ||
|
|
a7af3c1bd4 | ||
|
|
55218a0629 | ||
|
|
9cf23d920b | ||
|
|
ecbb9b705f | ||
|
|
36c34ff40e | ||
|
|
61311f9b03 | ||
|
|
5c03e5453a | ||
|
|
1207e1a848 | ||
|
|
d8c156258b | ||
|
|
972c2d64a8 | ||
|
|
9e44617199 | ||
|
|
8aa4fcf448 | ||
|
|
39e62cd800 | ||
|
|
d8c5a42777 | ||
|
|
0a19924b36 | ||
|
|
665fd72480 | ||
|
|
76b073c366 | ||
|
|
fa357479ef | ||
|
|
19a9c24485 | ||
|
|
05ecca1f4d | ||
|
|
58847298be | ||
|
|
a9f8cecaec | ||
|
|
441b4d2797 | ||
|
|
1808bc3027 | ||
|
|
d4db1a51d2 | ||
|
|
f06ac47557 | ||
|
|
d8fb8ce606 | ||
|
|
26b7816552 | ||
|
|
8576f9c97f | ||
|
|
c4eecca6b6 |
@@ -391,7 +391,6 @@ When you run the `scan.sh` script:
|
||||
* https://github.com/SimithWang/comfyui-renameImages
|
||||
* https://github.com/Tcheko243/ComfyUI-Photographer-Alpha7-Nodes
|
||||
* https://github.com/Limbicnation/ComfyUINodeToolbox
|
||||
* https://github.com/chenpipi0807/pip_longsize
|
||||
* https://github.com/APZmedia/ComfyUI-APZmedia-srtTools
|
||||
|
||||
## Roadmap
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
cli_mode_flag = os.path.join(os.path.dirname(__file__), '.enable-cli-only-mode')
|
||||
|
||||
if not os.path.exists(cli_mode_flag):
|
||||
from .glob import manager_server
|
||||
from .glob import share_3rdparty
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), "glob"))
|
||||
import manager_server
|
||||
import share_3rdparty
|
||||
WEB_DIRECTORY = "js"
|
||||
else:
|
||||
print(f"\n[ComfyUI-Manager] !! cli-only-mode is enabled !!\n")
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
5481
github-stats.json
5481
github-stats.json
File diff suppressed because it is too large
Load Diff
@@ -23,16 +23,50 @@ sys.path.append(glob_path)
|
||||
import cm_global
|
||||
from manager_util import *
|
||||
|
||||
version = [2, 52]
|
||||
version = [2, 55, 5]
|
||||
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
|
||||
|
||||
|
||||
comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
|
||||
custom_nodes_path = os.path.abspath(os.path.join(comfyui_manager_path, '..'))
|
||||
|
||||
default_custom_nodes_path = None
|
||||
|
||||
def get_default_custom_nodes_path():
|
||||
global default_custom_nodes_path
|
||||
if default_custom_nodes_path is None:
|
||||
try:
|
||||
import folder_paths
|
||||
default_custom_nodes_path = folder_paths.get_folder_paths("custom_nodes")[0]
|
||||
except:
|
||||
default_custom_nodes_path = custom_nodes_path
|
||||
|
||||
return default_custom_nodes_path
|
||||
|
||||
|
||||
def get_custom_nodes_paths():
|
||||
try:
|
||||
import folder_paths
|
||||
return folder_paths.get_folder_paths("custom_nodes")
|
||||
except:
|
||||
return [custom_nodes_path]
|
||||
|
||||
|
||||
def get_comfyui_tag():
|
||||
repo = git.Repo(comfy_path)
|
||||
try:
|
||||
return repo.git.describe('--tags')
|
||||
except:
|
||||
return None
|
||||
|
||||
|
||||
comfy_path = os.environ.get('COMFYUI_PATH')
|
||||
if comfy_path is None:
|
||||
comfy_path = os.path.abspath(os.path.join(custom_nodes_path, '..'))
|
||||
try:
|
||||
import folder_paths
|
||||
comfy_path = os.path.join(os.path.dirname(folder_paths.__file__))
|
||||
except:
|
||||
comfy_path = os.path.abspath(os.path.join(custom_nodes_path, '..'))
|
||||
|
||||
channel_list_path = os.path.join(comfyui_manager_path, 'channels.list')
|
||||
config_path = os.path.join(comfyui_manager_path, "config.ini")
|
||||
@@ -340,7 +374,7 @@ def __win_check_git_update(path, do_fetch=False, do_update=False):
|
||||
|
||||
new_env = os.environ.copy()
|
||||
new_env["COMFYUI_PATH"] = comfy_path
|
||||
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=custom_nodes_path)
|
||||
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=get_default_custom_nodes_path())
|
||||
output, _ = process.communicate()
|
||||
output = output.decode('utf-8').strip()
|
||||
|
||||
@@ -394,7 +428,7 @@ def __win_check_git_pull(path):
|
||||
new_env = os.environ.copy()
|
||||
new_env["COMFYUI_PATH"] = comfy_path
|
||||
command = [sys.executable, git_script_path, "--pull", path]
|
||||
process = subprocess.Popen(command, env=new_env, cwd=custom_nodes_path)
|
||||
process = subprocess.Popen(command, env=new_env, cwd=get_default_custom_nodes_path())
|
||||
process.wait()
|
||||
|
||||
|
||||
@@ -562,11 +596,11 @@ def gitclone_install(files, instant_execution=False, msg_prefix=''):
|
||||
try:
|
||||
print(f"Download: git clone '{url}'")
|
||||
repo_name = os.path.splitext(os.path.basename(url))[0]
|
||||
repo_path = os.path.join(custom_nodes_path, repo_name)
|
||||
repo_path = os.path.join(get_default_custom_nodes_path(), repo_name)
|
||||
|
||||
# Clone the repository from the remote URL
|
||||
if not instant_execution and platform.system() == 'Windows':
|
||||
res = manager_funcs.run_script([sys.executable, git_script_path, "--clone", custom_nodes_path, url], cwd=custom_nodes_path)
|
||||
res = manager_funcs.run_script([sys.executable, git_script_path, "--clone", get_default_custom_nodes_path(), url], cwd=get_default_custom_nodes_path())
|
||||
if res != 0:
|
||||
return False
|
||||
else:
|
||||
@@ -690,6 +724,22 @@ async def get_data_by_mode(mode, filename, channel_url=None):
|
||||
return json_obj
|
||||
|
||||
|
||||
def lookup_installed_custom_nodes(repo_name):
|
||||
try:
|
||||
import folder_paths
|
||||
base_paths = folder_paths.get_folder_paths("custom_nodes")
|
||||
except:
|
||||
base_paths = [custom_nodes_path]
|
||||
|
||||
for base_path in base_paths:
|
||||
repo_path = os.path.join(base_path, repo_name)
|
||||
if os.path.exists(repo_path):
|
||||
return True, repo_path
|
||||
elif os.path.exists(repo_path+'.disabled'):
|
||||
return False, repo_path
|
||||
|
||||
return None
|
||||
|
||||
def gitclone_fix(files, instant_execution=False):
|
||||
print(f"Try fixing: {files}")
|
||||
for url in files:
|
||||
@@ -701,13 +751,15 @@ def gitclone_fix(files, instant_execution=False):
|
||||
url = url[:-1]
|
||||
try:
|
||||
repo_name = os.path.splitext(os.path.basename(url))[0]
|
||||
repo_path = os.path.join(custom_nodes_path, repo_name)
|
||||
repo_path = lookup_installed_custom_nodes(repo_name)
|
||||
|
||||
if os.path.exists(repo_path+'.disabled'):
|
||||
repo_path = repo_path+'.disabled'
|
||||
if repo_path is not None:
|
||||
repo_path = repo_path[1]
|
||||
|
||||
if not execute_install_script(url, repo_path, instant_execution=instant_execution):
|
||||
return False
|
||||
if not execute_install_script(url, repo_path, instant_execution=instant_execution):
|
||||
return False
|
||||
else:
|
||||
print(f"Custom node not found: {repo_name}")
|
||||
|
||||
except Exception as e:
|
||||
print(f"Install(git-clone) error: {url} / {e}", file=sys.stderr)
|
||||
@@ -754,12 +806,12 @@ def gitclone_uninstall(files):
|
||||
url = url[:-1]
|
||||
try:
|
||||
dir_name = os.path.splitext(os.path.basename(url))[0].replace(".git", "")
|
||||
dir_path = os.path.join(custom_nodes_path, dir_name)
|
||||
repo_path = lookup_installed_custom_nodes(dir_name)
|
||||
|
||||
# safety check
|
||||
if dir_path == '/' or dir_path[1:] == ":/" or dir_path == '':
|
||||
print(f"Uninstall(git-clone) error: invalid path '{dir_path}' for '{url}'")
|
||||
return False
|
||||
if repo_path is None:
|
||||
continue
|
||||
|
||||
dir_path = repo_path[1]
|
||||
|
||||
install_script_path = os.path.join(dir_path, "uninstall.py")
|
||||
disable_script_path = os.path.join(dir_path, "disable.py")
|
||||
@@ -775,10 +827,7 @@ def gitclone_uninstall(files):
|
||||
if code != 0:
|
||||
print(f"An error occurred during the execution of the disable.py script. Only the '{dir_path}' will be deleted.")
|
||||
|
||||
if os.path.exists(dir_path):
|
||||
rmtree(dir_path)
|
||||
elif os.path.exists(dir_path + ".disabled"):
|
||||
rmtree(dir_path + ".disabled")
|
||||
rmtree(dir_path)
|
||||
except Exception as e:
|
||||
print(f"Uninstall(git-clone) error: {url} / {e}", file=sys.stderr)
|
||||
return False
|
||||
@@ -801,13 +850,13 @@ def gitclone_set_active(files, is_disable):
|
||||
url = url[:-1]
|
||||
try:
|
||||
dir_name = os.path.splitext(os.path.basename(url))[0].replace(".git", "")
|
||||
dir_path = os.path.join(custom_nodes_path, dir_name)
|
||||
repo_path = lookup_installed_custom_nodes(dir_name)
|
||||
|
||||
# safety check
|
||||
if dir_path == '/' or dir_path[1:] == ":/" or dir_path == '':
|
||||
print(f"{action_name}(git-clone) error: invalid path '{dir_path}' for '{url}'")
|
||||
return False
|
||||
if repo_path is None:
|
||||
continue
|
||||
|
||||
dir_path = repo_path[1]
|
||||
|
||||
if is_disable:
|
||||
current_path = dir_path
|
||||
new_path = dir_path + ".disabled"
|
||||
@@ -843,11 +892,13 @@ def gitclone_update(files, instant_execution=False, skip_script=False, msg_prefi
|
||||
url = url[:-1]
|
||||
try:
|
||||
repo_name = os.path.splitext(os.path.basename(url))[0].replace(".git", "")
|
||||
repo_path = os.path.join(custom_nodes_path, repo_name)
|
||||
repo_path = lookup_installed_custom_nodes(repo_name)
|
||||
|
||||
if os.path.exists(repo_path+'.disabled'):
|
||||
repo_path = repo_path+'.disabled'
|
||||
if repo_path is None:
|
||||
continue
|
||||
|
||||
repo_path = repo_path[1]
|
||||
|
||||
git_pull(repo_path)
|
||||
|
||||
if not skip_script:
|
||||
@@ -917,10 +968,14 @@ def lookup_customnode_by_url(data, target):
|
||||
for x in data['custom_nodes']:
|
||||
if target in x['files']:
|
||||
dir_name = os.path.splitext(os.path.basename(target))[0].replace(".git", "")
|
||||
dir_path = os.path.join(custom_nodes_path, dir_name)
|
||||
if os.path.exists(dir_path):
|
||||
repo_path = lookup_installed_custom_nodes(dir_name)
|
||||
|
||||
if repo_path is None:
|
||||
continue
|
||||
|
||||
if repo_path[0]:
|
||||
x['installed'] = 'True'
|
||||
elif os.path.exists(dir_path + ".disabled"):
|
||||
else:
|
||||
x['installed'] = 'Disabled'
|
||||
return x
|
||||
|
||||
@@ -929,13 +984,15 @@ def lookup_customnode_by_url(data, target):
|
||||
|
||||
def simple_check_custom_node(url):
|
||||
dir_name = os.path.splitext(os.path.basename(url))[0].replace(".git", "")
|
||||
dir_path = os.path.join(custom_nodes_path, dir_name)
|
||||
if os.path.exists(dir_path):
|
||||
return 'installed'
|
||||
elif os.path.exists(dir_path+'.disabled'):
|
||||
return 'disabled'
|
||||
repo_path = lookup_installed_custom_nodes(dir_name)
|
||||
|
||||
return 'not-installed'
|
||||
if repo_path is None:
|
||||
return 'not-installed'
|
||||
|
||||
if repo_path[0]:
|
||||
return 'installed'
|
||||
else:
|
||||
return 'disabled'
|
||||
|
||||
|
||||
def check_a_custom_node_installed(item, do_fetch=False, do_update_check=True, do_update=False):
|
||||
@@ -948,8 +1005,12 @@ def check_a_custom_node_installed(item, do_fetch=False, do_update_check=True, do
|
||||
url = url[:-1]
|
||||
|
||||
dir_name = os.path.splitext(os.path.basename(url))[0].replace(".git", "")
|
||||
dir_path = os.path.join(custom_nodes_path, dir_name)
|
||||
if os.path.exists(dir_path):
|
||||
repo_path = lookup_installed_custom_nodes(dir_name)
|
||||
|
||||
if repo_path is None:
|
||||
item['installed'] = 'False'
|
||||
elif repo_path[0]:
|
||||
dir_path = repo_path[1]
|
||||
try:
|
||||
item['installed'] = 'True' # default
|
||||
|
||||
@@ -968,17 +1029,23 @@ def check_a_custom_node_installed(item, do_fetch=False, do_update_check=True, do
|
||||
else:
|
||||
item['installed'] = 'True'
|
||||
|
||||
elif os.path.exists(dir_path + ".disabled"):
|
||||
item['installed'] = 'Disabled'
|
||||
|
||||
else:
|
||||
item['installed'] = 'False'
|
||||
item['installed'] = 'Disabled'
|
||||
|
||||
elif item['install_type'] == 'copy' and len(item['files']) == 1:
|
||||
dir_name = os.path.basename(item['files'][0])
|
||||
|
||||
if item['files'][0].endswith('.py'):
|
||||
base_path = custom_nodes_path
|
||||
base_path = lookup_installed_custom_nodes(item['files'][0])
|
||||
if base_path is None:
|
||||
item['installed'] = 'False'
|
||||
return
|
||||
elif base_path[0]:
|
||||
item['installed'] = 'True'
|
||||
else:
|
||||
item['installed'] = 'Disabled'
|
||||
|
||||
return
|
||||
elif 'js_path' in item:
|
||||
base_path = os.path.join(js_path, item['js_path'])
|
||||
else:
|
||||
@@ -990,8 +1057,6 @@ def check_a_custom_node_installed(item, do_fetch=False, do_update_check=True, do
|
||||
item['installed'] = 'Fail'
|
||||
else:
|
||||
item['installed'] = 'True'
|
||||
elif os.path.exists(file_path + ".disabled"):
|
||||
item['installed'] = 'Disabled'
|
||||
else:
|
||||
item['installed'] = 'False'
|
||||
|
||||
@@ -1028,39 +1093,46 @@ def get_current_snapshot():
|
||||
git_custom_nodes = {}
|
||||
file_custom_nodes = []
|
||||
|
||||
try:
|
||||
import folder_paths
|
||||
base_paths = folder_paths.get_folder_paths("custom_nodes")
|
||||
except:
|
||||
base_paths = [custom_nodes_path]
|
||||
|
||||
# Get custom nodes hash
|
||||
for path in os.listdir(custom_nodes_path):
|
||||
fullpath = os.path.join(custom_nodes_path, path)
|
||||
for base_path in base_paths:
|
||||
for path in os.listdir(base_path):
|
||||
fullpath = os.path.join(base_path, path)
|
||||
|
||||
if os.path.isdir(fullpath):
|
||||
is_disabled = path.endswith(".disabled")
|
||||
if os.path.isdir(fullpath):
|
||||
is_disabled = path.endswith(".disabled")
|
||||
|
||||
try:
|
||||
git_dir = os.path.join(fullpath, '.git')
|
||||
try:
|
||||
git_dir = os.path.join(fullpath, '.git')
|
||||
|
||||
if not os.path.exists(git_dir):
|
||||
continue
|
||||
if not os.path.exists(git_dir):
|
||||
continue
|
||||
|
||||
repo = git.Repo(fullpath)
|
||||
commit_hash = repo.head.commit.hexsha
|
||||
url = repo.remotes.origin.url
|
||||
git_custom_nodes[url] = {
|
||||
'hash': commit_hash,
|
||||
repo = git.Repo(fullpath)
|
||||
commit_hash = repo.head.commit.hexsha
|
||||
url = repo.remotes.origin.url
|
||||
git_custom_nodes[url] = {
|
||||
'hash': commit_hash,
|
||||
'disabled': is_disabled
|
||||
}
|
||||
|
||||
except:
|
||||
print(f"Failed to extract snapshots for the custom node '{path}'.")
|
||||
|
||||
elif path.endswith('.py'):
|
||||
is_disabled = path.endswith(".py.disabled")
|
||||
filename = os.path.basename(path)
|
||||
item = {
|
||||
'filename': filename,
|
||||
'disabled': is_disabled
|
||||
}
|
||||
|
||||
except:
|
||||
print(f"Failed to extract snapshots for the custom node '{path}'.")
|
||||
|
||||
elif path.endswith('.py'):
|
||||
is_disabled = path.endswith(".py.disabled")
|
||||
filename = os.path.basename(path)
|
||||
item = {
|
||||
'filename': filename,
|
||||
'disabled': is_disabled
|
||||
}
|
||||
|
||||
file_custom_nodes.append(item)
|
||||
file_custom_nodes.append(item)
|
||||
|
||||
pip_packages = get_installed_pip_packages()
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ def print_comfyui_version():
|
||||
|
||||
try:
|
||||
if core.comfy_ui_commit_datetime.date() < core.comfy_ui_required_commit_datetime.date():
|
||||
print(f"\n\n## [WARN] ComfyUI-Manager: Your ComfyUI version ({core.comfy_ui_revision})[{core.comfy_ui_commit_datetime.date()}] is too old. Please update to the latest version. ##\n\n")
|
||||
print(f"\n\n## [WARN] ComfyUI-Manager: Your ComfyUI version ({core.get_comfyui_tag()})[{core.comfy_ui_commit_datetime.date()}] is too old. Please update to the latest version. ##\n\n")
|
||||
except:
|
||||
pass
|
||||
|
||||
@@ -200,7 +200,11 @@ def print_comfyui_version():
|
||||
# <--
|
||||
|
||||
if current_branch == "master":
|
||||
print(f"### ComfyUI Revision: {core.comfy_ui_revision} [{comfy_ui_hash[:8]}] | Released on '{core.comfy_ui_commit_datetime.date()}'")
|
||||
version_tag = core.get_comfyui_tag()
|
||||
if version_tag is None:
|
||||
print(f"### ComfyUI Revision: {core.comfy_ui_revision} [{comfy_ui_hash[:8]}] | Released on '{core.comfy_ui_commit_datetime.date()}'")
|
||||
else:
|
||||
print(f"### ComfyUI Version: {core.get_comfyui_tag()} | Released on '{core.comfy_ui_commit_datetime.date()}'")
|
||||
else:
|
||||
print(f"### ComfyUI Revision: {core.comfy_ui_revision} on '{current_branch}' [{comfy_ui_hash[:8]}] | Released on '{core.comfy_ui_commit_datetime.date()}'")
|
||||
except:
|
||||
@@ -248,23 +252,45 @@ import urllib.request
|
||||
|
||||
|
||||
def get_model_dir(data):
|
||||
if 'download_model_base' in folder_paths.folder_names_and_paths:
|
||||
models_base = folder_paths.folder_names_and_paths['download_model_base'][0][0]
|
||||
else:
|
||||
models_base = folder_paths.models_dir
|
||||
|
||||
def resolve_custom_node(save_path):
|
||||
save_path = save_path[13:] # remove 'custom_nodes/'
|
||||
repo_name = save_path.replace('\\','/').split('/')[0] # get custom node repo name
|
||||
repo_path = core.lookup_installed_custom_nodes(repo_name)
|
||||
if repo_path is not None and repo_path[0]:
|
||||
# Returns the retargeted path based on the actually installed repository
|
||||
return os.path.join(os.path.dirname(repo_path[1]), save_path)
|
||||
else:
|
||||
return None
|
||||
|
||||
if data['save_path'] != 'default':
|
||||
if '..' in data['save_path'] or data['save_path'].startswith('/'):
|
||||
print(f"[WARN] '{data['save_path']}' is not allowed path. So it will be saved into 'models/etc'.")
|
||||
base_model = os.path.join(folder_paths.models_dir, "etc")
|
||||
base_model = os.path.join(models_base, "etc")
|
||||
else:
|
||||
if data['save_path'].startswith("custom_nodes"):
|
||||
base_model = os.path.join(core.comfy_path, data['save_path'])
|
||||
base_model = resolve_custom_node(data['save_path'])
|
||||
if base_model is None:
|
||||
print(f"[ComfyUI-Manager] The target custom node for model download is not installed: {data['save_path']}")
|
||||
return None
|
||||
else:
|
||||
base_model = os.path.join(folder_paths.models_dir, data['save_path'])
|
||||
base_model = os.path.join(models_base, data['save_path'])
|
||||
else:
|
||||
model_type = data['type']
|
||||
if model_type == "checkpoints" or model_type == "checkpoint":
|
||||
base_model = folder_paths.folder_names_and_paths["checkpoints"][0][0]
|
||||
elif model_type == "unclip":
|
||||
base_model = folder_paths.folder_names_and_paths["checkpoints"][0][0]
|
||||
elif model_type == "clip":
|
||||
base_model = folder_paths.folder_names_and_paths["clip"][0][0]
|
||||
elif model_type == "clip" or model_type == "text_encoders":
|
||||
if folder_paths.folder_names_and_paths.get("text_encoders"):
|
||||
base_model = folder_paths.folder_names_and_paths["text_encoders"][0][0]
|
||||
else:
|
||||
print(f"[ComfyUI-Manager] Your ComfyUI is outdated version.")
|
||||
base_model = folder_paths.folder_names_and_paths["clip"][0][0] # outdated version
|
||||
elif model_type == "VAE":
|
||||
base_model = folder_paths.folder_names_and_paths["vae"][0][0]
|
||||
elif model_type == "lora":
|
||||
@@ -290,14 +316,17 @@ def get_model_dir(data):
|
||||
print(f"[ComfyUI-Manager] Your ComfyUI is outdated version.")
|
||||
base_model = folder_paths.folder_names_and_paths["unet"][0][0] # outdated version
|
||||
else:
|
||||
base_model = os.path.join(folder_paths.models_dir, "etc")
|
||||
base_model = os.path.join(models_base, "etc")
|
||||
|
||||
return base_model
|
||||
|
||||
|
||||
def get_model_path(data):
|
||||
base_model = get_model_dir(data)
|
||||
return os.path.join(base_model, data['filename'])
|
||||
if base_model is None:
|
||||
return None
|
||||
else:
|
||||
return os.path.join(base_model, data['filename'])
|
||||
|
||||
|
||||
def check_custom_nodes_installed(json_obj, do_fetch=False, do_update_check=True, do_update=False):
|
||||
@@ -1178,14 +1207,21 @@ async def get_notice(request):
|
||||
|
||||
if match:
|
||||
markdown_content = match.group(1)
|
||||
markdown_content += f"<HR>ComfyUI: {core.comfy_ui_revision}[{comfy_ui_hash[:6]}]({core.comfy_ui_commit_datetime.date()})"
|
||||
version_tag = core.get_comfyui_tag()
|
||||
if version_tag is None:
|
||||
markdown_content += f"<HR>ComfyUI: {core.comfy_ui_revision}[{comfy_ui_hash[:6]}]({core.comfy_ui_commit_datetime.date()})"
|
||||
else:
|
||||
markdown_content += (f"<HR>ComfyUI: {version_tag}<BR>"
|
||||
f" ({core.comfy_ui_commit_datetime.date()})")
|
||||
# markdown_content += f"<BR> ()"
|
||||
markdown_content += f"<BR>Manager: {core.version_str}"
|
||||
|
||||
markdown_content = add_target_blank(markdown_content)
|
||||
|
||||
try:
|
||||
if core.comfy_ui_required_commit_datetime.date() > core.comfy_ui_commit_datetime.date():
|
||||
if core.comfy_ui_commit_datetime == datetime(1900, 1, 1, 0, 0, 0):
|
||||
markdown_content = f'<P style="text-align: center; color:red; background-color:white; font-weight:bold">Your ComfyUI isn\'t git repo.</P>' + markdown_content
|
||||
elif core.comfy_ui_required_commit_datetime.date() > core.comfy_ui_commit_datetime.date():
|
||||
markdown_content = f'<P style="text-align: center; color:red; background-color:white; font-weight:bold">Your ComfyUI is too OUTDATED!!!</P>' + markdown_content
|
||||
except:
|
||||
pass
|
||||
@@ -1285,13 +1321,6 @@ async def load_components(request):
|
||||
return web.Response(status=400)
|
||||
|
||||
|
||||
args.enable_cors_header = "*"
|
||||
if hasattr(PromptServer.instance, "app"):
|
||||
app = PromptServer.instance.app
|
||||
cors_middleware = server.create_cors_middleware(args.enable_cors_header)
|
||||
app.middlewares.append(cors_middleware)
|
||||
|
||||
|
||||
def sanitize(data):
|
||||
return data.replace("<", "<").replace(">", ">")
|
||||
|
||||
|
||||
@@ -29,12 +29,37 @@ Detailed information: https://old.reddit.com/r/comfyui/comments/1dbls5n/psa_if_y
|
||||
2. Remove files: lolMiner*, 4G_Ethash_Linux_Readme.txt, mine* in ComfyUI dir.
|
||||
|
||||
(Reinstall ComfyUI is recommended.)
|
||||
""",
|
||||
"ultralytics==8.3.41": f"""
|
||||
Execute following commands:
|
||||
{sys.executable} -m pip uninstall ultralytics
|
||||
{sys.executable} -m pip install ultralytics==8.3.40
|
||||
|
||||
And kill and remove /tmp/ultralytics_runner
|
||||
|
||||
|
||||
The version 8.3.41 to 8.3.42 of the Ultralytics package you installed is compromised. Please uninstall that version and reinstall the latest version.
|
||||
https://blog.comfy.org/comfyui-statement-on-the-ultralytics-crypto-miner-situation/
|
||||
""",
|
||||
"ultralytics==8.3.42": f"""
|
||||
Execute following commands:
|
||||
{sys.executable} -m pip uninstall ultralytics
|
||||
{sys.executable} -m pip install ultralytics==8.3.40
|
||||
|
||||
And kill and remove /tmp/ultralytics_runner
|
||||
|
||||
|
||||
The version 8.3.41 to 8.3.42 of the Ultralytics package you installed is compromised. Please uninstall that version and reinstall the latest version.
|
||||
https://blog.comfy.org/comfyui-statement-on-the-ultralytics-crypto-miner-situation/
|
||||
"""
|
||||
}
|
||||
|
||||
node_blacklist = {"ComfyUI_LLMVISION": "ComfyUI_LLMVISION"}
|
||||
|
||||
pip_blacklist = {"AppleBotzz": "ComfyUI_LLMVISION"}
|
||||
pip_blacklist = {
|
||||
"AppleBotzz": "ComfyUI_LLMVISION",
|
||||
"ultralytics==8.3.41": "ultralytics==8.3.41"
|
||||
}
|
||||
|
||||
file_blacklist = {
|
||||
"ComfyUI_LLMVISION": ["%LocalAppData%\\rundll64.exe"],
|
||||
|
||||
@@ -1276,15 +1276,6 @@ class ManagerMenuDialog extends ComfyDialog {
|
||||
modifyButtonStyle(url);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "Open 'flowt.ai'",
|
||||
callback: () => {
|
||||
const url = "https://flowt.ai/";
|
||||
localStorage.setItem("wg_last_visited", url);
|
||||
window.open(url, url);
|
||||
modifyButtonStyle(url);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "Open 'esheep'",
|
||||
callback: () => {
|
||||
|
||||
@@ -3721,6 +3721,41 @@
|
||||
"size": "1.19GB"
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"name": "stabilityai/SD3.5-Large-Controlnet-Blur",
|
||||
"type": "controlnet",
|
||||
"base": "SD3.5",
|
||||
"save_path": "controlnet/SD3.5",
|
||||
"description": "Blur Controlnet model for SD3.5 Large",
|
||||
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
|
||||
"filename": "sd3.5_large_controlnet_blur.safetensors",
|
||||
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_blur.safetensors",
|
||||
"size": "8.65GB"
|
||||
},
|
||||
{
|
||||
"name": "stabilityai/SD3.5-Large-Controlnet-Canny",
|
||||
"type": "controlnet",
|
||||
"base": "SD3.5",
|
||||
"save_path": "controlnet/SD3.5",
|
||||
"description": "Canny Controlnet model for SD3.5 Large",
|
||||
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
|
||||
"filename": "sd3.5_large_controlnet_canny.safetensors",
|
||||
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_canny.safetensors",
|
||||
"size": "8.65GB"
|
||||
},
|
||||
{
|
||||
"name": "stabilityai/SD3.5-Large-Controlnet-Depth",
|
||||
"type": "controlnet",
|
||||
"base": "SD3.5",
|
||||
"save_path": "controlnet/SD3.5",
|
||||
"description": "Depth Controlnet model for SD3.5 Large",
|
||||
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
|
||||
"filename": "sd3.5_large_controlnet_depth.safetensors",
|
||||
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_depth.safetensors",
|
||||
"size": "8.65GB"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Kijai/ToonCrafter model checkpoint (interpolation fp16)",
|
||||
"type": "checkpoint",
|
||||
@@ -4464,7 +4499,7 @@
|
||||
{
|
||||
"name": "pulid_flux_v0.9.1.safetensors",
|
||||
"type": "PuLID",
|
||||
"base": "FLUX",
|
||||
"base": "FLUX.1",
|
||||
"save_path": "pulid",
|
||||
"description": "This is required for PuLID (FLUX)",
|
||||
"reference": "https://huggingface.co/guozinan/PuLID",
|
||||
|
||||
@@ -13,6 +13,319 @@
|
||||
|
||||
|
||||
|
||||
|
||||
{
|
||||
"author": "kijai",
|
||||
"title": "ComfyUI-MMAudio",
|
||||
"reference": "https://github.com/kijai/ComfyUI-MMAudio",
|
||||
"files": [
|
||||
"https://github.com/kijai/ComfyUI-MMAudio"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI nodes to use [a/MMAudio](https://github.com/hkchengrex/MMAudio)"
|
||||
},
|
||||
{
|
||||
"author": "Aksaz",
|
||||
"title": "seamless-clone-comfyui",
|
||||
"reference": "https://github.com/Aksaz/seamless-clone-comfyui",
|
||||
"files": [
|
||||
"https://github.com/Aksaz/seamless-clone-comfyui"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Seamless Cloning"
|
||||
},
|
||||
{
|
||||
"author": "kuschanow",
|
||||
"title": "ComfyUI-SD-Slicer",
|
||||
"reference": "https://github.com/kuschanow/ComfyUI-SD-Slicer",
|
||||
"files": [
|
||||
"https://github.com/kuschanow/ComfyUI-SD-Slicer"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Slicer"
|
||||
},
|
||||
{
|
||||
"author": "ralonsobeas",
|
||||
"title": "ComfyUI-HDRConversion [WIP]",
|
||||
"reference": "https://github.com/ralonsobeas/ComfyUI-HDRConversion",
|
||||
"files": [
|
||||
"https://github.com/ralonsobeas/ComfyUI-HDRConversion"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Generate HDR image"
|
||||
},
|
||||
{
|
||||
"author": "Matrix-King-Studio",
|
||||
"title": "ComfyUI-MoviePy",
|
||||
"reference": "https://github.com/Matrix-King-Studio/ComfyUI-MoviePy",
|
||||
"files": [
|
||||
"https://github.com/Matrix-King-Studio/ComfyUI-MoviePy"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Image Clip Node, Audio Duration Node, Save Video Node"
|
||||
},
|
||||
{
|
||||
"author": "oxysoft",
|
||||
"title": "ComfyUI-uiapi",
|
||||
"reference": "https://github.com/oxysoft/ComfyUI-uiapi",
|
||||
"files": [
|
||||
"https://github.com/oxysoft/ComfyUI-uiapi"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "UIAPI is an intermediate and frontend plugin which allow communicating with the Comfy webui through server connection. This saves the need to export a workflow.json and instead directly sending a queue command to the frontend. This way, the user can experiment in realtime as they are running some professional industry or rendering software which uses UIAPI / ComfyUI as a backend. There is no way to switch seamlessly between UIAPI and regular server connection - though as of late summer 2023 it was inferior to use the server connection because the server would constantly unload models and start from scratch, and the schema of the workfow json was completely different and much less convenient, losing crucial information for efficient querying of nodes and assigning data dynamically."
|
||||
},
|
||||
{
|
||||
"author": "esciron",
|
||||
"title": "ComfyUI-HunyuanVideoWrapper-Extended [WIP]",
|
||||
"reference": "https://github.com/esciron/ComfyUI-HunyuanVideoWrapper-Extended",
|
||||
"files": [
|
||||
"https://github.com/esciron/ComfyUI-HunyuanVideoWrapper-Extended"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Extended ComfyUI wrapper nodes for [a/HunyuanVideo](https://github.com/Tencent/HunyuanVideo)"
|
||||
},
|
||||
{
|
||||
"author": "hotpot-killer",
|
||||
"title": "ComfyUI_AlexNodes",
|
||||
"reference": "https://github.com/hotpot-killer/ComfyUI_AlexNodes",
|
||||
"files": [
|
||||
"https://github.com/hotpot-killer/ComfyUI_AlexNodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: InstructPG - editing images with text prompt, ...\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "pschroedl",
|
||||
"title": "ComfyUI-StreamDiffusion",
|
||||
"reference": "https://github.com/pschroedl/ComfyUI-StreamDiffusion",
|
||||
"files": [
|
||||
"https://github.com/pschroedl/ComfyUI-StreamDiffusion"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: StreamDiffusionConfig, StreamDiffusionAccelerationSampler, StreamDiffusionLoraLoader, StreamDiffusionAccelerationConfig, StreamDiffusionSimilarityFilterConfig, StreamDiffusionModelLoader, ..."
|
||||
},
|
||||
{
|
||||
"author": "jefferyharrell",
|
||||
"title": "ComfyUI-JHXMP",
|
||||
"reference": "https://github.com/jefferyharrell/ComfyUI-JHXMP",
|
||||
"files": [
|
||||
"https://github.com/jefferyharrell/ComfyUI-JHXMP"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Save Image With XMP Metadata"
|
||||
},
|
||||
{
|
||||
"author": "c0ffymachyne",
|
||||
"title": "ComfyUI Signal Processing [WIP]",
|
||||
"reference": "https://github.com/c0ffymachyne/ComfyUI_SignalProcessing",
|
||||
"files": [
|
||||
"https://github.com/c0ffymachyne/ComfyUI_SignalProcessing"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "This repo contains signal processing nodes for ComfyUI allowing for audio manipulation."
|
||||
},
|
||||
{
|
||||
"author": "wjl0313",
|
||||
"title": "ComfyUI_KimNodes [WIP]",
|
||||
"reference": "https://github.com/wjl0313/ComfyUI_KimNodes",
|
||||
"files": [
|
||||
"https://github.com/wjl0313/ComfyUI_KimNodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Distribute_Icons, IconDistributeByGrid, YOLO_Crop, Crop_Paste, KimFilter\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "Aksaz",
|
||||
"title": "seamless-clone-comfyui",
|
||||
"reference": "https://github.com/Aksaz/seamless-clone-comfyui",
|
||||
"files": [
|
||||
"https://github.com/Aksaz/seamless-clone-comfyui"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Seamless Cloning"
|
||||
},
|
||||
{
|
||||
"author": "Junst",
|
||||
"title": "ComfyUI-PNG2SVG2PNG",
|
||||
"reference": "https://github.com/Junst/ComfyUI-PNG2SVG2PNG",
|
||||
"files": [
|
||||
"https://github.com/Junst/ComfyUI-PNG2SVG2PNG"
|
||||
],
|
||||
"description": "NODES:PNG2SVG2PNG",
|
||||
"install_type": "git-clone"
|
||||
},
|
||||
{
|
||||
"author": "animEEEmpire",
|
||||
"title": "ComfyUI-Animemory-Loader",
|
||||
"reference": "https://github.com/animEEEmpire/ComfyUI-Animemory-Loader",
|
||||
"files": [
|
||||
"https://github.com/animEEEmpire/ComfyUI-Animemory-Loader"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "AniMemory-alpha Custom Node for ComfyUI"
|
||||
},
|
||||
{
|
||||
"author": "ShahFaisalWani",
|
||||
"title": "ComfyUI-Mojen-Nodeset",
|
||||
"reference": "https://github.com/ShahFaisalWani/ComfyUI-Mojen-Nodeset",
|
||||
"files": [
|
||||
"https://github.com/ShahFaisalWani/ComfyUI-Mojen-Nodeset"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: MojenLogPercent, MojenTagProcessor, MojenStyleExtractor, MojenAnalyzeProcessor"
|
||||
},
|
||||
{
|
||||
"author": "kijai",
|
||||
"title": "ComfyUI-HunyuanVideoWrapper [WIP]",
|
||||
"reference": "https://github.com/kijai/ComfyUI-HunyuanVideoWrapper",
|
||||
"files": [
|
||||
"https://github.com/kijai/ComfyUI-HunyuanVideoWrapper"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI wrapper nodes for [a/HunyuanVideo](https://github.com/Tencent/HunyuanVideo)"
|
||||
},
|
||||
{
|
||||
"author": "grimli333",
|
||||
"title": "ComfyUI_Grim",
|
||||
"reference": "https://github.com/grimli333/ComfyUI_Grim",
|
||||
"files": [
|
||||
"https://github.com/grimli333/ComfyUI_Grim"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Generate a unique filename and folder name, Format Strings with Two Inputs"
|
||||
},
|
||||
{
|
||||
"author": "risunobushi",
|
||||
"title": "ComfyUI_FocusMask",
|
||||
"reference": "https://github.com/risunobushi/ComfyUI_FocusMask",
|
||||
"files": [
|
||||
"https://github.com/risunobushi/ComfyUI_FocusMask"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Extract Focus Mask"
|
||||
},
|
||||
{
|
||||
"author": "RicherdLee",
|
||||
"title": "comfyui-oss-image-save [WIP]",
|
||||
"reference": "https://github.com/RicherdLee/comfyui-oss-image-save",
|
||||
"files": [
|
||||
"https://github.com/RicherdLee/comfyui-oss-image-save"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: SaveImageOSS."
|
||||
},
|
||||
{
|
||||
"author": "Matrix-King-Studio",
|
||||
"title": "ComfyUI-MoviePy",
|
||||
"reference": "https://github.com/Matrix-King-Studio/ComfyUI-MoviePy",
|
||||
"files": [
|
||||
"https://github.com/Matrix-King-Studio/ComfyUI-MoviePy"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Image Clip Node, Audio Duration Node, Save Video Node,..."
|
||||
},
|
||||
{
|
||||
"author": "sh570655308",
|
||||
"title": "ComfyUI-GigapixelAI [WIP]",
|
||||
"reference": "https://github.com/sh570655308/ComfyUI-GigapixelAI",
|
||||
"pip": ["GigapixelAI>=7.3.0"],
|
||||
"files": [
|
||||
"https://github.com/sh570655308/ComfyUI-GigapixelAI"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "custom nodes use gigapixelai ai in comfyui Thanks @choey for the https://github.com/choey/Comfy-Topaz nodes helps me a lot\nRequirements: Licensed installation of Gigapixel 8: the path of gigapixel.exe is in the installation folder of Topaz Gigapixel AI, manually fill it if your installation is not default. Need GigapixelAI>=7.3.0\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "Big Idea Technology",
|
||||
"title": "ComfyUI-Movie-Tools [WIP]",
|
||||
"reference": "https://github.com/Big-Idea-Technology/ComfyUI-Movie-Tools",
|
||||
"files": [
|
||||
"https://github.com/Big-Idea-Technology/ComfyUI-Movie-Tools"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Movie Tools is a set of custom nodes, designed to simplify saving and loading batches of images with enhanced functionality like subfolder management and batch image handling."
|
||||
},
|
||||
{
|
||||
"author": "ArthusLiang",
|
||||
"title": "comfyui-face-remap [WIP]",
|
||||
"reference": "https://github.com/ArthusLiang/comfyui-face-remap",
|
||||
"files": [
|
||||
"https://github.com/ArthusLiang/comfyui-face-remap"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: FaceRemap\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "trithemius",
|
||||
"title": "ComfyUI-SmolVLM [WIP]",
|
||||
"reference": "https://github.com/mamorett/ComfyUI-SmolVLM",
|
||||
"files": [
|
||||
"https://github.com/mamorett/ComfyUI-SmolVLM"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Nodes to use SmolVLM for image tagging and captioning.\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "anze",
|
||||
"title": "ComfyUI-OIDN [WIP]",
|
||||
"reference": "https://github.com/Anze-/ComfyUI-OIDN",
|
||||
"files": [
|
||||
"https://github.com/Anze-/ComfyUI-OIDN"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "ComyUI wrapper for Intel OIDN image denoising\nWARNING! : this is a development repo, usage in production environments is not advised! Bugs are to be expected."
|
||||
},
|
||||
{
|
||||
"author": "techzuhaib",
|
||||
"title": "ComfyUI-CacheImageNode",
|
||||
"reference": "https://github.com/techzuhaib/ComfyUI-CacheImageNode",
|
||||
"files": [
|
||||
"https://github.com/techzuhaib/ComfyUI-CacheImageNode"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: CacheImageNode"
|
||||
},
|
||||
{
|
||||
"author": "hay86",
|
||||
"title": "ComfyUI AceNodes [UNSAFE]",
|
||||
"reference": "https://github.com/hay86/ComfyUI_AceNodes",
|
||||
"files": [
|
||||
"https://github.com/hay86/ComfyUI_AceNodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Some useful custom nodes that are not included in ComfyUI core yet.\nNOTE: Vulnerability discovered. Not being managed."
|
||||
},
|
||||
{
|
||||
"author": "dowands",
|
||||
"title": "AddMaskForICLora",
|
||||
"reference": "https://github.com/dowands/ComfyUI-AddMaskForICLora",
|
||||
"files": [
|
||||
"https://github.com/dowands/ComfyUI-AddMaskForICLora"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Add Mask For IC Lora x"
|
||||
},
|
||||
{
|
||||
"author": "exectails",
|
||||
"title": "Scripting",
|
||||
"id": "et_scripting [UNSAFE]",
|
||||
"reference": "https://github.com/exectails/comfyui-et_scripting",
|
||||
"files": [
|
||||
"https://github.com/exectails/comfyui-et_scripting"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Nodes that can be used to write Python scripts directly on a node. Useful for quick prototyping and testing, at the cost of security.[w/This extension allows the execution of arbitrary Python code from a workflow.]"
|
||||
},
|
||||
{
|
||||
"author": "AIFSH",
|
||||
"title": "UltralightDigitalHuman-ComfyUI",
|
||||
"reference": "https://github.com/AIFSH/UltralightDigitalHuman-ComfyUI",
|
||||
"files": [
|
||||
"https://github.com/AIFSH/UltralightDigitalHuman-ComfyUI"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "a custom node for [a/Ultralight-Digital-Human](https://github.com/anliyuan/Ultralight-Digital-Human)\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "vahidzxc",
|
||||
"title": "ComfyUI-My-Handy-Nodes",
|
||||
@@ -132,7 +445,7 @@
|
||||
"https://github.com/RobeSantoro/ComfyUI-RobeNodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: List Video Path Node, List Image Path Node\nThis is a collection of utility nodes for the ComfyUI stable diffusion client that provides enhanced file path handling capabilities.[w/Users will be able to access images from arbitrary paths through the workflow.] "
|
||||
"description": "NODES: List Video Path Node, List Image Path Node\nThis is a collection of utility nodes for the ComfyUI stable diffusion client that provides enhanced file path handling capabilities.[w/Users will be able to access images from arbitrary paths through the workflow.]"
|
||||
},
|
||||
{
|
||||
"author": "Kimara.ai",
|
||||
@@ -173,7 +486,7 @@
|
||||
"https://github.com/trashgraphicard/Albedo-Sampler-for-ComfyUI"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES:Sample Image"
|
||||
"description": "NODES:Sample Image, Make Seamless Tile"
|
||||
},
|
||||
{
|
||||
"author": "Anze-",
|
||||
@@ -486,16 +799,6 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "Upscale image with model multiple times !"
|
||||
},
|
||||
{
|
||||
"author": "huangyangke",
|
||||
"title": "ComfyUI-Kolors-IpadapterFaceId [WIP]",
|
||||
"reference": "https://github.com/huangyangke/ComfyUI-Kolors-IpadapterFaceId",
|
||||
"files": [
|
||||
"https://github.com/huangyangke/ComfyUI-Kolors-IpadapterFaceId"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES:kolors_ipadapter_faceid\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "rouxianmantou",
|
||||
"title": "comfyui-rxmt-nodes",
|
||||
@@ -2736,16 +3039,6 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "Nodes:PythonScript, BlendImagesWithBoundedMasks, CropImagesWithMasks, VAELoaderDataType, ModelSamplerTonemapNoiseTest, gcLatentTunnel, ReferenceOnlySimple, EmptyImageWithColor, MaskFromColor, SetLatentCustomNoise, LatentToImage, ImageToLatent, LatentScaledNoise, DisplayAnyType, SamplerCustomCallback, CustomCallback, SplitCustomSigmas, SamplerDPMPP_2M_SDE_nidefawl, LatentPerlinNoise.<BR>[w/This node is an unsafe node that includes the capability to execute arbitrary python script.]"
|
||||
},
|
||||
{
|
||||
"author": "kadirnar",
|
||||
"title": "comfyui_hub",
|
||||
"reference": "https://github.com/kadirnar/comfyui_hub",
|
||||
"files": [
|
||||
"https://github.com/kadirnar/comfyui_hub"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A collection of nodes randomly selected and gathered, related to noise. NOTE: SD-Advanced-Noise, noise_latent_perlinpinpin, comfy-plasma"
|
||||
},
|
||||
{
|
||||
"author": "foglerek",
|
||||
"title": "comfyui-cem-tools",
|
||||
|
||||
@@ -239,6 +239,15 @@
|
||||
"title_aux": "IMAGDressing-ComfyUI"
|
||||
}
|
||||
],
|
||||
"https://github.com/AIFSH/UltralightDigitalHuman-ComfyUI": [
|
||||
[
|
||||
"InferUltralightDigitalHumanNode",
|
||||
"TrainUltralightDigitalHumanNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "UltralightDigitalHuman-ComfyUI"
|
||||
}
|
||||
],
|
||||
"https://github.com/AIFSH/UtilNodes-ComfyUI": [
|
||||
[
|
||||
"GetRGBEmptyImgae",
|
||||
@@ -310,6 +319,14 @@
|
||||
"title_aux": "comfyui-textools [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/Aksaz/seamless-clone-comfyui": [
|
||||
[
|
||||
"Seamless Cloning"
|
||||
],
|
||||
{
|
||||
"title_aux": "seamless-clone-comfyui"
|
||||
}
|
||||
],
|
||||
"https://github.com/AlexXi19/ComfyUI-OpenAINode": [
|
||||
[
|
||||
"ImageWithPrompt",
|
||||
@@ -341,6 +358,14 @@
|
||||
"title_aux": "ComfyUI-Xorbis-nodes [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/Anze-/ComfyUI-OIDN": [
|
||||
[
|
||||
"OIDN Denoise"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-OIDN [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/Anze-/ComfyUI_deepDeband": [
|
||||
[
|
||||
"deepDeband Inference"
|
||||
@@ -349,6 +374,14 @@
|
||||
"title_aux": "ComfyUI_deepDeband [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/ArthusLiang/comfyui-face-remap": [
|
||||
[
|
||||
"FaceRemap"
|
||||
],
|
||||
{
|
||||
"title_aux": "comfyui-face-remap [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/BadCafeCode/execution-inversion-demo-comfyui": [
|
||||
[
|
||||
"AccumulateNode",
|
||||
@@ -417,6 +450,15 @@
|
||||
"title_aux": "ComfyUI-LogicGates"
|
||||
}
|
||||
],
|
||||
"https://github.com/Big-Idea-Technology/ComfyUI-Movie-Tools": [
|
||||
[
|
||||
"LoadImagesFromSubdirsBatch",
|
||||
"SaveImagesWithSubfolder"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Movie-Tools [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/BlueDangerX/ComfyUI-BDXNodes": [
|
||||
[
|
||||
"BDXTestInt",
|
||||
@@ -496,7 +538,8 @@
|
||||
"DevToolsNodeWithOnlyOptionalInput",
|
||||
"DevToolsNodeWithOptionalInput",
|
||||
"DevToolsNodeWithOutputList",
|
||||
"DevToolsNodeWithStringInput"
|
||||
"DevToolsNodeWithStringInput",
|
||||
"DevToolsNodeWithUnionInput"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_devtools [WIP]"
|
||||
@@ -577,7 +620,9 @@
|
||||
"https://github.com/DoctorDiffusion/Doctor-Tools": [
|
||||
[
|
||||
"FinalFrameSelector",
|
||||
"FirstFrameSelector",
|
||||
"PromptJournal",
|
||||
"ReverseFrameSequence",
|
||||
"VideoMerge",
|
||||
"YouTubeVideoDownloader"
|
||||
],
|
||||
@@ -634,6 +679,7 @@
|
||||
"AppIO_ImageInputFromID",
|
||||
"AppIO_ImageOutput",
|
||||
"AppIO_IntegerInput",
|
||||
"AppIO_ResizeInstanceAndPaste",
|
||||
"AppIO_ResizeInstanceImageMask",
|
||||
"AppIO_StringInput",
|
||||
"AppIO_StringOutput"
|
||||
@@ -740,14 +786,12 @@
|
||||
"https://github.com/JichaoLiang/Immortal_comfyUI": [
|
||||
[
|
||||
"AppendNode",
|
||||
"ApplyVoiceConversion",
|
||||
"CombineVideos",
|
||||
"ImAppendFreeChatAction",
|
||||
"ImAppendImageActionNode",
|
||||
"ImAppendQuickbackNode",
|
||||
"ImAppendQuickbackVideoNode",
|
||||
"ImAppendVideoNode",
|
||||
"ImApplyWav2lip",
|
||||
"ImDumpEntity",
|
||||
"ImDumpNode",
|
||||
"ImLoadPackage",
|
||||
@@ -789,6 +833,14 @@
|
||||
"title_aux": "comfy-consistency-vae"
|
||||
}
|
||||
],
|
||||
"https://github.com/Junst/ComfyUI-PNG2SVG2PNG": [
|
||||
[
|
||||
"PNG2SVG2PNG"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-PNG2SVG2PNG"
|
||||
}
|
||||
],
|
||||
"https://github.com/KoreTeknology/ComfyUI-Nai-Production-Nodes-Pack": [
|
||||
[
|
||||
"Brightness Image",
|
||||
@@ -934,6 +986,16 @@
|
||||
"title_aux": "ComfyUI Nodes for Inference.Core"
|
||||
}
|
||||
],
|
||||
"https://github.com/Matrix-King-Studio/ComfyUI-MoviePy": [
|
||||
[
|
||||
"AudioDurationNode",
|
||||
"ImageClipNode",
|
||||
"SaveVideoNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-MoviePy"
|
||||
}
|
||||
],
|
||||
"https://github.com/MrAdamBlack/CheckProgress": [
|
||||
[
|
||||
"CHECK_PROGRESS"
|
||||
@@ -961,6 +1023,8 @@
|
||||
],
|
||||
"https://github.com/PnthrLeo/comfyUI-image-search": [
|
||||
[
|
||||
"AreasGenerator",
|
||||
"BatchImageGetter",
|
||||
"CloseImagesSearcher"
|
||||
],
|
||||
{
|
||||
@@ -995,7 +1059,9 @@
|
||||
"FRED_LoadPathImagesPreview",
|
||||
"FRED_LoadPathImagesPreview_v2",
|
||||
"FRED_LoadRetinaFace",
|
||||
"FRED_LoraInfos",
|
||||
"FRED_PreviewOnly",
|
||||
"FRED_TextMultiline",
|
||||
"FRED_photo_prompt"
|
||||
],
|
||||
{
|
||||
@@ -1026,6 +1092,14 @@
|
||||
"title_aux": "ComfyUI-QuasimondoNodes [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/RicherdLee/comfyui-oss-image-save": [
|
||||
[
|
||||
"SaveImageOSS"
|
||||
],
|
||||
{
|
||||
"title_aux": "comfyui-oss-image-save [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/RobeSantoro/ComfyUI-RobeNodes": [
|
||||
[
|
||||
"List Image Path \ud83d\udc24",
|
||||
@@ -1090,6 +1164,17 @@
|
||||
"title_aux": "ComfyUI-SeedV-Nodes [UNSAFE]"
|
||||
}
|
||||
],
|
||||
"https://github.com/ShahFaisalWani/ComfyUI-Mojen-Nodeset": [
|
||||
[
|
||||
"MojenAnalyzeProcessor",
|
||||
"MojenLogPercent",
|
||||
"MojenStyleExtractor",
|
||||
"MojenTagProcessor"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Mojen-Nodeset"
|
||||
}
|
||||
],
|
||||
"https://github.com/Shinsplat/ComfyUI-Shinsplat": [
|
||||
[
|
||||
"Clip Text Encode (Shinsplat)",
|
||||
@@ -1341,6 +1426,14 @@
|
||||
"title_aux": "Dream Project Video Batches [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/animEEEmpire/ComfyUI-Animemory-Loader": [
|
||||
[
|
||||
"AnimemoryNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Animemory-Loader"
|
||||
}
|
||||
],
|
||||
"https://github.com/aria1th/ComfyUI-SkipCFGSigmas": [
|
||||
[
|
||||
"CFGControl_SKIPCFG"
|
||||
@@ -1635,6 +1728,29 @@
|
||||
"title_aux": "brycegoh/comfyui-custom-nodes"
|
||||
}
|
||||
],
|
||||
"https://github.com/c0ffymachyne/ComfyUI_SignalProcessing": [
|
||||
[
|
||||
"SignalProcessingBaxandall3BandEQ",
|
||||
"SignalProcessingBaxandallEQ",
|
||||
"SignalProcessingConvolutionReverb",
|
||||
"SignalProcessingFilter",
|
||||
"SignalProcessingHarmonicsEnhancer",
|
||||
"SignalProcessingLoadAudio",
|
||||
"SignalProcessingLoudness",
|
||||
"SignalProcessingMixdown",
|
||||
"SignalProcessingNormalizer",
|
||||
"SignalProcessingPadSynth",
|
||||
"SignalProcessingPadSynthChoir",
|
||||
"SignalProcessingPaulStretch",
|
||||
"SignalProcessingPitchShifter",
|
||||
"SignalProcessingSpectrogram",
|
||||
"SignalProcessingStereoWidening",
|
||||
"SignalProcessingWaveform"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI Signal Processing [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/celll1/cel_sampler": [
|
||||
[
|
||||
"latent_tracker"
|
||||
@@ -1671,11 +1787,10 @@
|
||||
[
|
||||
"CombineStrings",
|
||||
"JSONParser",
|
||||
"OSSClient",
|
||||
"OSSUploader",
|
||||
"StepFunClient",
|
||||
"TextImageChat",
|
||||
"VideoChat"
|
||||
"VideoChat",
|
||||
"VideoFileUploader"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_StepFun"
|
||||
@@ -1831,6 +1946,7 @@
|
||||
"ModelMergeAuraflow",
|
||||
"ModelMergeBlocks",
|
||||
"ModelMergeFlux1",
|
||||
"ModelMergeLTXV",
|
||||
"ModelMergeMochiPreview",
|
||||
"ModelMergeSD1",
|
||||
"ModelMergeSD2",
|
||||
@@ -2057,6 +2173,14 @@
|
||||
"title_aux": "ComfyUI_WcpD_Utility_Kit"
|
||||
}
|
||||
],
|
||||
"https://github.com/dowands/ComfyUI-AddMaskForICLora": [
|
||||
[
|
||||
"AddMaskForICLora"
|
||||
],
|
||||
{
|
||||
"title_aux": "AddMaskForICLora"
|
||||
}
|
||||
],
|
||||
"https://github.com/downlifted/ComfyUI_BWiZ_Nodes": [
|
||||
[
|
||||
"BWIZInteractiveLogMonitor",
|
||||
@@ -2148,6 +2272,24 @@
|
||||
"title_aux": "guidance_interval"
|
||||
}
|
||||
],
|
||||
"https://github.com/esciron/ComfyUI-HunyuanVideoWrapper-Extended": [
|
||||
[
|
||||
"DownloadAndLoadHyVideoTextEncoder",
|
||||
"HyVideoBlockSwap",
|
||||
"HyVideoCustomPromptTemplate",
|
||||
"HyVideoDecode",
|
||||
"HyVideoEncode",
|
||||
"HyVideoModelLoader",
|
||||
"HyVideoSTG",
|
||||
"HyVideoSampler",
|
||||
"HyVideoTextEncode",
|
||||
"HyVideoTorchCompileSettings",
|
||||
"HyVideoVAELoader"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-HunyuanVideoWrapper-Extended [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/evolox/ComfyUI-GeneraNodes": [
|
||||
[
|
||||
"Genera.BatchPreviewer",
|
||||
@@ -2158,6 +2300,14 @@
|
||||
"title_aux": "ComfyUI-GeneraNodes"
|
||||
}
|
||||
],
|
||||
"https://github.com/exectails/comfyui-et_scripting": [
|
||||
[
|
||||
"ETPythonTextScript3Node"
|
||||
],
|
||||
{
|
||||
"title_aux": "Scripting"
|
||||
}
|
||||
],
|
||||
"https://github.com/fablestudio/ComfyUI-Showrunner-Utils": [
|
||||
[
|
||||
"AlignFace",
|
||||
@@ -2243,6 +2393,15 @@
|
||||
"title_aux": "ComfyUI-Tools-Video-Combine [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/grimli333/ComfyUI_Grim": [
|
||||
[
|
||||
"GenerateFileName",
|
||||
"TwoStringsFormat"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_Grim"
|
||||
}
|
||||
],
|
||||
"https://github.com/haodman/ComfyUI_Rain": [
|
||||
[
|
||||
"Rain_ImageSize",
|
||||
@@ -2277,6 +2436,43 @@
|
||||
"title_aux": "Comfyui-SadTalker"
|
||||
}
|
||||
],
|
||||
"https://github.com/hay86/ComfyUI_AceNodes": [
|
||||
[
|
||||
"ACE_AnyInputSwitchBool",
|
||||
"ACE_AnyInputToAny",
|
||||
"ACE_AudioLoad",
|
||||
"ACE_AudioPlay",
|
||||
"ACE_AudioSave",
|
||||
"ACE_Expression_Eval",
|
||||
"ACE_Float",
|
||||
"ACE_ImageColorFix",
|
||||
"ACE_ImageConstrain",
|
||||
"ACE_ImageFaceCrop",
|
||||
"ACE_ImageGetSize",
|
||||
"ACE_ImageLoadFromCloud",
|
||||
"ACE_ImagePixelate",
|
||||
"ACE_ImageQA",
|
||||
"ACE_ImageRemoveBackground",
|
||||
"ACE_ImageSaveToCloud",
|
||||
"ACE_Integer",
|
||||
"ACE_MaskBlur",
|
||||
"ACE_Seed",
|
||||
"ACE_Text",
|
||||
"ACE_TextConcatenate",
|
||||
"ACE_TextGoogleTranslate",
|
||||
"ACE_TextInputSwitch2Way",
|
||||
"ACE_TextInputSwitch4Way",
|
||||
"ACE_TextInputSwitch8Way",
|
||||
"ACE_TextList",
|
||||
"ACE_TextPreview",
|
||||
"ACE_TextSelector",
|
||||
"ACE_TextToResolution",
|
||||
"ACE_TextTranslate"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI AceNodes [UNSAFE]"
|
||||
}
|
||||
],
|
||||
"https://github.com/hgabha/WWAA-CustomNodes": [
|
||||
[
|
||||
"WWAA-BuildString",
|
||||
@@ -2316,6 +2512,14 @@
|
||||
"title_aux": "ComfyUI-WaterMark-Detector"
|
||||
}
|
||||
],
|
||||
"https://github.com/hotpot-killer/ComfyUI_AlexNodes": [
|
||||
[
|
||||
"InstructPG"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_AlexNodes"
|
||||
}
|
||||
],
|
||||
"https://github.com/houdinii/comfy-magick": [
|
||||
[
|
||||
"AdaptiveBlur",
|
||||
@@ -2353,14 +2557,6 @@
|
||||
"title_aux": "comfy-magick [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/huangyangke/ComfyUI-Kolors-IpadapterFaceId": [
|
||||
[
|
||||
"kolors_ipadapter_faceid"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Kolors-IpadapterFaceId [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/huizhang0110/ComfyUI_Easy_Nodes_hui": [
|
||||
[
|
||||
"EasyBgRemover",
|
||||
@@ -2443,6 +2639,14 @@
|
||||
"title_aux": "ComfyUI-LuminaNext [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/jefferyharrell/ComfyUI-JHXMP": [
|
||||
[
|
||||
"JHSaveImageWithXMPMetadata"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-JHXMP"
|
||||
}
|
||||
],
|
||||
"https://github.com/jgbrblmd/ComfyUI-ComfyFluxSize": [
|
||||
[
|
||||
"ComfyFluxSize"
|
||||
@@ -2592,35 +2796,6 @@
|
||||
"title_aux": "ComfyUI-Adapter [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/kadirnar/comfyui_hub": [
|
||||
[
|
||||
"CircularVAEDecode",
|
||||
"CustomKSamplerAdvancedTile",
|
||||
"JDC_AutoContrast",
|
||||
"JDC_BlendImages",
|
||||
"JDC_BrownNoise",
|
||||
"JDC_Contrast",
|
||||
"JDC_EqualizeGrey",
|
||||
"JDC_GaussianBlur",
|
||||
"JDC_GreyNoise",
|
||||
"JDC_Greyscale",
|
||||
"JDC_ImageLoader",
|
||||
"JDC_ImageLoaderMeta",
|
||||
"JDC_PinkNoise",
|
||||
"JDC_Plasma",
|
||||
"JDC_PlasmaSampler",
|
||||
"JDC_PowerImage",
|
||||
"JDC_RandNoise",
|
||||
"JDC_ResizeFactor",
|
||||
"LatentGaussianNoise",
|
||||
"LatentToRGB",
|
||||
"MathEncode",
|
||||
"NoisyLatentPerlin"
|
||||
],
|
||||
{
|
||||
"title_aux": "comfyui_hub"
|
||||
}
|
||||
],
|
||||
"https://github.com/kappa54m/ComfyUI_Usability": [
|
||||
[
|
||||
"KLoadImageByPath",
|
||||
@@ -2696,6 +2871,35 @@
|
||||
"title_aux": "ComfyUI-FollowYourEmojiWrapper [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/kijai/ComfyUI-HunyuanVideoWrapper": [
|
||||
[
|
||||
"DownloadAndLoadHyVideoTextEncoder",
|
||||
"HyVideoBlockSwap",
|
||||
"HyVideoCustomPromptTemplate",
|
||||
"HyVideoDecode",
|
||||
"HyVideoEncode",
|
||||
"HyVideoModelLoader",
|
||||
"HyVideoSTG",
|
||||
"HyVideoSampler",
|
||||
"HyVideoTextEncode",
|
||||
"HyVideoTorchCompileSettings",
|
||||
"HyVideoVAELoader"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-HunyuanVideoWrapper [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/kijai/ComfyUI-MMAudio": [
|
||||
[
|
||||
"MMAudioFeatureUtilsLoader",
|
||||
"MMAudioModelLoader",
|
||||
"MMAudioSampler",
|
||||
"MMAudioVoCoderLoader"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-MMAudio"
|
||||
}
|
||||
],
|
||||
"https://github.com/kijai/ComfyUI-MochiWrapper": [
|
||||
[
|
||||
"DownloadAndLoadMochiModel",
|
||||
@@ -2747,12 +2951,36 @@
|
||||
"https://github.com/kostenickj/comfyui-jk-easy-nodes": [
|
||||
[
|
||||
"EasyHRFix",
|
||||
"JKAnythingToString"
|
||||
"EasyHRFix_Context",
|
||||
"JKAnythingToString",
|
||||
"JKBigContext",
|
||||
"JKDynamicThresholdingMultiModel",
|
||||
"JKEasyCheckpointLoader",
|
||||
"JKEasyDetailer",
|
||||
"JKEasyDetailer_Context",
|
||||
"JKEasyKSampler_Context",
|
||||
"JKEasyWatermark",
|
||||
"JKInspireSchedulerAdapter",
|
||||
"JKLilContext",
|
||||
"JKMultiModelSamplerUnpatch",
|
||||
"JKStringEmpty",
|
||||
"JKStringEquals",
|
||||
"JKStringNotEmpty",
|
||||
"JKStringNotEquals",
|
||||
"JKStringToSamplerAdapter"
|
||||
],
|
||||
{
|
||||
"title_aux": "comfyui-jk-easy-nodes"
|
||||
}
|
||||
],
|
||||
"https://github.com/kuschanow/ComfyUI-SD-Slicer": [
|
||||
[
|
||||
"SdSlicer"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-SD-Slicer"
|
||||
}
|
||||
],
|
||||
"https://github.com/kxh/ComfyUI-ImageUpscaleWithModelMultipleTimes": [
|
||||
[
|
||||
"ImageUpscaleWithModelMultipleTimes"
|
||||
@@ -2881,7 +3109,9 @@
|
||||
"AddFluxFlow",
|
||||
"ApplyFluxRaveAttention",
|
||||
"ApplyRefFlux",
|
||||
"ApplyRegionalConds",
|
||||
"ConfigureModifiedFlux",
|
||||
"CreateRegionalCond",
|
||||
"FlowEditForwardSampler",
|
||||
"FlowEditReverseSampler",
|
||||
"FluxAttnOverride",
|
||||
@@ -2897,6 +3127,7 @@
|
||||
"PrepareAttnBank",
|
||||
"RFDoubleBlocksOverride",
|
||||
"RFSingleBlocksOverride",
|
||||
"RegionalStyleModelApply",
|
||||
"SEGAttention"
|
||||
],
|
||||
{
|
||||
@@ -2994,6 +3225,17 @@
|
||||
"title_aux": "comfyui_indieTools [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/mamorett/ComfyUI-SmolVLM": [
|
||||
[
|
||||
"Smolvlm_Caption_Analyzer",
|
||||
"Smolvlm_Flux_CLIPTextEncode",
|
||||
"Smolvlm_SaveTags",
|
||||
"Smolvlm_Tagger"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-SmolVLM [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/marcueberall/ComfyUI-BuildPath": [
|
||||
[
|
||||
"Build Path Adv"
|
||||
@@ -3049,7 +3291,9 @@
|
||||
"Add zSNR Sigma max",
|
||||
"ConcatSigmas",
|
||||
"CosineScheduler",
|
||||
"GaussianScheduler",
|
||||
"InvertSigmas",
|
||||
"LogNormal Scheduler",
|
||||
"OffsetSigmas",
|
||||
"PerpNegScheduledCFGGuider",
|
||||
"ScheduledCFGGuider"
|
||||
@@ -3349,6 +3593,22 @@
|
||||
"title_aux": "ComfyUI-clip-interrogator [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/pschroedl/ComfyUI-StreamDiffusion": [
|
||||
[
|
||||
"StreamDiffusionAccelerationConfig",
|
||||
"StreamDiffusionAccelerationSampler",
|
||||
"StreamDiffusionCheckpointLoader",
|
||||
"StreamDiffusionConfig",
|
||||
"StreamDiffusionDeviceConfig",
|
||||
"StreamDiffusionLoraLoader",
|
||||
"StreamDiffusionPrebuiltConfig",
|
||||
"StreamDiffusionSimilarityFilterConfig",
|
||||
"StreamDiffusionTensorRTEngineLoader"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-StreamDiffusion"
|
||||
}
|
||||
],
|
||||
"https://github.com/pzzmyc/comfyui-sd3-simple-simpletuner": [
|
||||
[
|
||||
"sd not very simple simpletuner by hhy"
|
||||
@@ -3357,6 +3617,14 @@
|
||||
"title_aux": "comfyui-sd3-simple-simpletuner"
|
||||
}
|
||||
],
|
||||
"https://github.com/ralonsobeas/ComfyUI-HDRConversion": [
|
||||
[
|
||||
"HDRConversion"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-HDRConversion [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/redhottensors/ComfyUI-ODE": [
|
||||
[
|
||||
"ODESamplerSelect"
|
||||
@@ -3369,6 +3637,15 @@
|
||||
"title_aux": "ComfyUI-ODE"
|
||||
}
|
||||
],
|
||||
"https://github.com/risunobushi/ComfyUI_FocusMask": [
|
||||
[
|
||||
"FocusMaskExtractor",
|
||||
"FocusOutlineExtractor"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_FocusMask"
|
||||
}
|
||||
],
|
||||
"https://github.com/rouxianmantou/comfyui-rxmt-nodes": [
|
||||
[
|
||||
"CheckValueTypeNode"
|
||||
@@ -3418,6 +3695,15 @@
|
||||
"title_aux": "ComfyUI-LMCQ [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/sh570655308/ComfyUI-GigapixelAI": [
|
||||
[
|
||||
"GigapixelAI",
|
||||
"GigapixelUpscaleSettings"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-GigapixelAI [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/shadowcz007/ComfyUI-PuLID-Test": [
|
||||
[
|
||||
"ApplyPulid",
|
||||
@@ -3585,6 +3871,14 @@
|
||||
"title_aux": "ComfyUI-Rpg-Architect [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/techzuhaib/ComfyUI-CacheImageNode": [
|
||||
[
|
||||
"CacheImageNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-CacheImageNode"
|
||||
}
|
||||
],
|
||||
"https://github.com/thderoo/ComfyUI-_topfun_s_nodes": [
|
||||
[
|
||||
"ConditioningPerturbation",
|
||||
@@ -3639,6 +3933,7 @@
|
||||
],
|
||||
"https://github.com/trashgraphicard/Albedo-Sampler-for-ComfyUI": [
|
||||
[
|
||||
"Make Seamless Tile",
|
||||
"Sample Image"
|
||||
],
|
||||
{
|
||||
@@ -3731,18 +4026,34 @@
|
||||
],
|
||||
"https://github.com/wilzamguerrero/Comfyui-zZzZz": [
|
||||
[
|
||||
"CaptureZNode",
|
||||
"CompressFolderNode",
|
||||
"CreateZNode",
|
||||
"DeleteZNode",
|
||||
"DownloadFileNode",
|
||||
"InfiniteZNode",
|
||||
"MoveZNode",
|
||||
"RenameZNode"
|
||||
"RenameZNode",
|
||||
"VideoZNode",
|
||||
"ZFShareScreen"
|
||||
],
|
||||
{
|
||||
"title_aux": "Comfyui-zZzZz [UNSAFE]"
|
||||
}
|
||||
],
|
||||
"https://github.com/wjl0313/ComfyUI_KimNodes": [
|
||||
[
|
||||
"Crop_Paste",
|
||||
"Distribute_Icons",
|
||||
"IconDistributeByGrid",
|
||||
"KimFilter",
|
||||
"Text_Match",
|
||||
"YOLO_Crop"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_KimNodes [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/wormley/comfyui-wormley-nodes": [
|
||||
[
|
||||
"CheckpointVAELoaderSimpleText",
|
||||
@@ -3755,6 +4066,8 @@
|
||||
],
|
||||
"https://github.com/xiaoyumu/ComfyUI-XYNodes": [
|
||||
[
|
||||
"AdjustImageColor",
|
||||
"AppyColorToImage",
|
||||
"PrimitiveBBOX",
|
||||
"StringToBBOX"
|
||||
],
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,6 +10,121 @@
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"author": "doomy23",
|
||||
"title": "ComfyUI-D00MYsNodes [REMOVED]",
|
||||
"reference": "https://github.com/doomy23/ComfyUI-D00MYsNodes",
|
||||
"files": [
|
||||
"https://github.com/doomy23/ComfyUI-D00MYsNodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Nodes: Images_Converter, Show_Text, Strings_From_List, Save_Text, Random_Images, Load_Images_From_Paths, JSPaint."
|
||||
},
|
||||
{
|
||||
"author": "kadirnar",
|
||||
"title": "comfyui_hub [REMOVED]",
|
||||
"reference": "https://github.com/kadirnar/comfyui_hub",
|
||||
"files": [
|
||||
"https://github.com/kadirnar/comfyui_hub"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A collection of nodes randomly selected and gathered, related to noise. NOTE: SD-Advanced-Noise, noise_latent_perlinpinpin, comfy-plasma"
|
||||
},
|
||||
{
|
||||
"author": "SaltAI",
|
||||
"title": "SaltAI_AudioViz [REMOVED]",
|
||||
"id": "saltai-audioviz",
|
||||
"reference": "https://github.com/get-salt-AI/SaltAI_AudioViz",
|
||||
"files": [
|
||||
"https://github.com/get-salt-AI/SaltAI_AudioViz"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "SaltAI AudioViz contains ComfyUI nodes for generating complex audio reactive visualizations"
|
||||
},
|
||||
{
|
||||
"author": "SaltAI",
|
||||
"title": "SaltAI-Open-Resources [REMOVED]",
|
||||
"id": "saltai-open-resource",
|
||||
"reference": "https://github.com/get-salt-AI/SaltAI",
|
||||
"pip": ["numba"],
|
||||
"files": [
|
||||
"https://github.com/get-salt-AI/SaltAI"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "This repository is a collection of open-source nodes and workflows for ComfyUI, a dev tool that allows users to create node-based workflows often powered by various AI models to do pretty much anything.\nOur mission is to seamlessly connect people and organizations with the world’s foremost AI innovations, anywhere, anytime. Our vision is to foster a flourishing AI ecosystem where the world’s best developers can build and share their work, thereby redefining how software is made, pushing innovation forward, and ensuring as many people as possible can benefit from the positive promise of AI technologies.\nWe believe that ComfyUI is a powerful tool that can help us achieve our mission and vision, by enabling anyone to explore the possibilities and limitations of AI models in a visual and interactive way, without coding if desired.\nWe hope that by sharing our nodes and workflows, we can inspire and empower more people to create amazing AI-powered content with ComfyUI."
|
||||
},
|
||||
{
|
||||
"author": "SaltAI",
|
||||
"title": "SaltAI_Language_Toolkit [REMOVED]",
|
||||
"id": "saltai_language_toolkit",
|
||||
"reference": "https://github.com/get-salt-AI/SaltAI_Language_Toolkit",
|
||||
"files": [
|
||||
"https://github.com/get-salt-AI/SaltAI_Language_Toolkit"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "The project integrates the Retrieval Augmented Generation (RAG) tool [a/Llama-Index](https://www.llamaindex.ai/), [a/Microsoft's AutoGen](https://microsoft.github.io/autogen/), and [a/LlaVA-Next](https://github.com/LLaVA-VL/LLaVA-NeXT) with ComfyUI's adaptable node interface, enhancing the functionality and user experience of the platform."
|
||||
},
|
||||
{
|
||||
"author": "zmwv823",
|
||||
"title": "ComfyUI-Sana [DEPRECATED]",
|
||||
"reference": "https://github.com/zmwv823/ComfyUI-Sana",
|
||||
"files": [
|
||||
"https://github.com/zmwv823/ComfyUI-Sana"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Unofficial custom-node for [a/SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformer](https://github.com/NVlabs/Sana)\n[w/A init node with lots of bugs, do not try unless interested.]"
|
||||
},
|
||||
{
|
||||
"author": "ACE-innovate",
|
||||
"title": "seg-node [REMOVED]",
|
||||
"reference": "https://github.com/ACE-innovate/seg-node",
|
||||
"files": [
|
||||
"https://github.com/ACE-innovate/seg-node"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "hf cloth seg custom node for comfyui\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "zefu-lu",
|
||||
"title": "ComfyUI_InstantX_SD35_Large_IPAdapter [REMOVED]",
|
||||
"id": "comfyui-instantx-sd3-5-large-ipadapter",
|
||||
"reference": "https://github.com/zefu-lu/ComfyUI-InstantX-SD3_5-Large-IPAdapter",
|
||||
"files": [
|
||||
"https://github.com/zefu-lu/ComfyUI-InstantX-SD3_5-Large-IPAdapter"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Custom ComfyUI node for using InstantX SD3.5-Large IPAdapter"
|
||||
},
|
||||
{
|
||||
"author": "HentaiGirlfriendDotCom",
|
||||
"title": "comfyui-highlight-connections [REMOVED]",
|
||||
"reference": "https://github.com/HentaiGirlfriendDotCom/comfyui-highlight-connections",
|
||||
"files": [
|
||||
"https://github.com/HentaiGirlfriendDotCom/comfyui-highlight-connections"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A node that can be dropped into a group. When a node is then clicked within that group, all nodes and connections in that group get greyed out and the connections from the clicked node go bright red."
|
||||
},
|
||||
{
|
||||
"author": "huangyangke",
|
||||
"title": "ComfyUI-Kolors-IpadapterFaceId [DEPRECATED]",
|
||||
"reference": "https://github.com/huangyangke/ComfyUI-Kolors-IpadapterFaceId",
|
||||
"files": [
|
||||
"https://github.com/huangyangke/ComfyUI-Kolors-IpadapterFaceId"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES:kolors_ipadapter_faceid\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "zmwv823",
|
||||
"title": "ComfyUI_Ctrlora [DEPRECATED]",
|
||||
"reference": "https://github.com/zmwv823/ComfyUI_Ctrlora",
|
||||
"files": [
|
||||
"https://github.com/zmwv823/ComfyUI_Ctrlora"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Unofficial custom_node for [a/xyfJASON/ctrlora](https://github.com/xyfJASON/ctrlora)."
|
||||
},
|
||||
{
|
||||
"author": "Fannovel16",
|
||||
"title": "ComfyUI Loopchain [DEPRECATED]",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,39 @@
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"name": "stabilityai/SD3.5-Large-Controlnet-Blur",
|
||||
"type": "controlnet",
|
||||
"base": "SD3.5",
|
||||
"save_path": "controlnet/SD3.5",
|
||||
"description": "Blur Controlnet model for SD3.5 Large",
|
||||
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
|
||||
"filename": "sd3.5_large_controlnet_blur.safetensors",
|
||||
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_blur.safetensors",
|
||||
"size": "8.65GB"
|
||||
},
|
||||
{
|
||||
"name": "stabilityai/SD3.5-Large-Controlnet-Canny",
|
||||
"type": "controlnet",
|
||||
"base": "SD3.5",
|
||||
"save_path": "controlnet/SD3.5",
|
||||
"description": "Canny Controlnet model for SD3.5 Large",
|
||||
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
|
||||
"filename": "sd3.5_large_controlnet_canny.safetensors",
|
||||
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_canny.safetensors",
|
||||
"size": "8.65GB"
|
||||
},
|
||||
{
|
||||
"name": "stabilityai/SD3.5-Large-Controlnet-Depth",
|
||||
"type": "controlnet",
|
||||
"base": "SD3.5",
|
||||
"save_path": "controlnet/SD3.5",
|
||||
"description": "Depth Controlnet model for SD3.5 Large",
|
||||
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
|
||||
"filename": "sd3.5_large_controlnet_depth.safetensors",
|
||||
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_depth.safetensors",
|
||||
"size": "8.65GB"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "LTX-Video 2B v0.9 Checkpoint",
|
||||
"type": "checkpoint",
|
||||
@@ -646,50 +680,6 @@
|
||||
"filename": "flux1-dev-Q5_0.gguf",
|
||||
"url": "https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q5_0.gguf",
|
||||
"size": "8.27GB"
|
||||
},
|
||||
{
|
||||
"name": "city96/flux1-dev-Q5_1.gguf",
|
||||
"type": "diffusion_model",
|
||||
"base": "FLUX.1",
|
||||
"save_path": "diffusion_models/FLUX1",
|
||||
"description": "FLUX.1 [Dev] Diffusion model (Q5_1/.gguf)",
|
||||
"reference": "https://huggingface.co/city96/FLUX.1-dev-gguf",
|
||||
"filename": "flux1-dev-Q5_1.gguf",
|
||||
"url": "https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q5_1.gguf",
|
||||
"size": "9.01GB"
|
||||
},
|
||||
{
|
||||
"name": "city96/flux1-dev-Q5_K_S.gguf",
|
||||
"type": "diffusion_model",
|
||||
"base": "FLUX.1",
|
||||
"save_path": "diffusion_models/FLUX1",
|
||||
"description": "FLUX.1 [Dev] Diffusion model (Q5_K_S/.gguf)",
|
||||
"reference": "https://huggingface.co/city96/FLUX.1-dev-gguf",
|
||||
"filename": "flux1-dev-Q5_K_S.gguf",
|
||||
"url": "https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q5_K_S.gguf",
|
||||
"size": "8.29GB"
|
||||
},
|
||||
{
|
||||
"name": "city96/flux1-dev-Q6_K.gguf",
|
||||
"type": "diffusion_model",
|
||||
"base": "FLUX.1",
|
||||
"save_path": "diffusion_models/FLUX1",
|
||||
"description": "FLUX.1 [Dev] Diffusion model (Q6_K/.gguf)",
|
||||
"reference": "https://huggingface.co/city96/FLUX.1-dev-gguf",
|
||||
"filename": "flux1-dev-Q6_K.gguf",
|
||||
"url": "https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q6_K.gguf",
|
||||
"size": "9.86GB"
|
||||
},
|
||||
{
|
||||
"name": "city96/flux1-dev-Q8_0.gguf",
|
||||
"type": "diffusion_model",
|
||||
"base": "FLUX.1",
|
||||
"save_path": "diffusion_models/FLUX1",
|
||||
"description": "FLUX.1 [Dev] Diffusion model (Q8_0/.gguf)",
|
||||
"reference": "https://huggingface.co/city96/FLUX.1-dev-gguf",
|
||||
"filename": "flux1-dev-Q8_0.gguf",
|
||||
"url": "https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q8_0.gguf",
|
||||
"size": "12.7GB"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,372 +1,373 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"id": "aaaaaaaaaa"
|
||||
},
|
||||
"source": [
|
||||
"Git clone the repo and install the requirements. (ignore the pip errors about protobuf)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "bbbbbbbbbb"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# #@title Environment Setup\n",
|
||||
"\n",
|
||||
"from pathlib import Path\n",
|
||||
"\n",
|
||||
"OPTIONS = {}\n",
|
||||
"\n",
|
||||
"USE_GOOGLE_DRIVE = True #@param {type:\"boolean\"}\n",
|
||||
"UPDATE_COMFY_UI = True #@param {type:\"boolean\"}\n",
|
||||
"USE_COMFYUI_MANAGER = True #@param {type:\"boolean\"}\n",
|
||||
"INSTALL_CUSTOM_NODES_DEPENDENCIES = True #@param {type:\"boolean\"}\n",
|
||||
"OPTIONS['USE_GOOGLE_DRIVE'] = USE_GOOGLE_DRIVE\n",
|
||||
"OPTIONS['UPDATE_COMFY_UI'] = UPDATE_COMFY_UI\n",
|
||||
"OPTIONS['USE_COMFYUI_MANAGER'] = USE_COMFYUI_MANAGER\n",
|
||||
"OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES'] = INSTALL_CUSTOM_NODES_DEPENDENCIES\n",
|
||||
"\n",
|
||||
"current_dir = !pwd\n",
|
||||
"WORKSPACE = f\"{current_dir[0]}/ComfyUI\"\n",
|
||||
"\n",
|
||||
"if OPTIONS['USE_GOOGLE_DRIVE']:\n",
|
||||
" !echo \"Mounting Google Drive...\"\n",
|
||||
" %cd /\n",
|
||||
"\n",
|
||||
" from google.colab import drive\n",
|
||||
" drive.mount('/content/drive')\n",
|
||||
"\n",
|
||||
" WORKSPACE = \"/content/drive/MyDrive/ComfyUI\"\n",
|
||||
" %cd /content/drive/MyDrive\n",
|
||||
"\n",
|
||||
"![ ! -d $WORKSPACE ] && echo -= Initial setup ComfyUI =- && git clone https://github.com/comfyanonymous/ComfyUI\n",
|
||||
"%cd $WORKSPACE\n",
|
||||
"\n",
|
||||
"if OPTIONS['UPDATE_COMFY_UI']:\n",
|
||||
" !echo -= Updating ComfyUI =-\n",
|
||||
"\n",
|
||||
" # Correction of the issue of permissions being deleted on Google Drive.\n",
|
||||
" ![ -f \".ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat\n",
|
||||
" ![ -f \".ci/nightly/windows_base_files/run_nvidia_gpu.bat\" ] && chmod 755 .ci/nightly/windows_base_files/run_nvidia_gpu.bat\n",
|
||||
" ![ -f \".ci/update_windows/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/update_windows/update_comfyui_and_python_dependencies.bat\n",
|
||||
" ![ -f \".ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat\n",
|
||||
" ![ -f \".ci/update_windows/update.py\" ] && chmod 755 .ci/update_windows/update.py\n",
|
||||
" ![ -f \".ci/update_windows/update_comfyui.bat\" ] && chmod 755 .ci/update_windows/update_comfyui.bat\n",
|
||||
" ![ -f \".ci/update_windows/README_VERY_IMPORTANT.txt\" ] && chmod 755 .ci/update_windows/README_VERY_IMPORTANT.txt\n",
|
||||
" ![ -f \".ci/update_windows/run_cpu.bat\" ] && chmod 755 .ci/update_windows/run_cpu.bat\n",
|
||||
" ![ -f \".ci/update_windows/run_nvidia_gpu.bat\" ] && chmod 755 .ci/update_windows/run_nvidia_gpu.bat\n",
|
||||
"\n",
|
||||
" !git pull\n",
|
||||
"\n",
|
||||
"!echo -= Install dependencies =-\n",
|
||||
"!pip3 install accelerate\n",
|
||||
"!pip3 install einops transformers>=4.28.1 safetensors>=0.4.2 aiohttp pyyaml Pillow scipy tqdm psutil tokenizers>=0.13.3\n",
|
||||
"!pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121\n",
|
||||
"!pip3 install torchsde\n",
|
||||
"!pip3 install kornia>=0.7.1 spandrel soundfile sentencepiece\n",
|
||||
"\n",
|
||||
"if OPTIONS['USE_COMFYUI_MANAGER']:\n",
|
||||
" %cd custom_nodes\n",
|
||||
"\n",
|
||||
" # Correction of the issue of permissions being deleted on Google Drive.\n",
|
||||
" ![ -f \"ComfyUI-Manager/check.sh\" ] && chmod 755 ComfyUI-Manager/check.sh\n",
|
||||
" ![ -f \"ComfyUI-Manager/scan.sh\" ] && chmod 755 ComfyUI-Manager/scan.sh\n",
|
||||
" ![ -f \"ComfyUI-Manager/node_db/dev/scan.sh\" ] && chmod 755 ComfyUI-Manager/node_db/dev/scan.sh\n",
|
||||
" ![ -f \"ComfyUI-Manager/scripts/install-comfyui-venv-linux.sh\" ] && chmod 755 ComfyUI-Manager/scripts/install-comfyui-venv-linux.sh\n",
|
||||
" ![ -f \"ComfyUI-Manager/scripts/install-comfyui-venv-win.bat\" ] && chmod 755 ComfyUI-Manager/scripts/install-comfyui-venv-win.bat\n",
|
||||
"\n",
|
||||
" ![ ! -d ComfyUI-Manager ] && echo -= Initial setup ComfyUI-Manager =- && git clone https://github.com/ltdrdata/ComfyUI-Manager\n",
|
||||
" %cd ComfyUI-Manager\n",
|
||||
" !git pull\n",
|
||||
"\n",
|
||||
"%cd $WORKSPACE\n",
|
||||
"\n",
|
||||
"if OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES']:\n",
|
||||
" !echo -= Install custom nodes dependencies =-\n",
|
||||
" !pip install GitPython\n",
|
||||
" !python custom_nodes/ComfyUI-Manager/cm-cli.py restore-dependencies\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"id": "cccccccccc"
|
||||
},
|
||||
"source": [
|
||||
"Download some models/checkpoints/vae or custom comfyui nodes (uncomment the commands for the ones you want)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "dddddddddd"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Checkpoints\n",
|
||||
"\n",
|
||||
"### SDXL\n",
|
||||
"### I recommend these workflow examples: https://comfyanonymous.github.io/ComfyUI_examples/sdxl/\n",
|
||||
"\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"# SDXL ReVision\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/clip_vision_g/resolve/main/clip_vision_g.safetensors -P ./models/clip_vision/\n",
|
||||
"\n",
|
||||
"# SD1.5\n",
|
||||
"!wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"# SD2\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.safetensors -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"# Some SD1.5 anime style\n",
|
||||
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1_orangemixs.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A3_orangemixs.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/anything-v3-fp16-pruned.safetensors -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"# Waifu Diffusion 1.5 (anime style SD2.x 768-v)\n",
|
||||
"#!wget -c https://huggingface.co/waifu-diffusion/wd-1-5-beta3/resolve/main/wd-illusion-fp16.safetensors -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# unCLIP models\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/illuminatiDiffusionV1_v11_unCLIP/resolve/main/illuminatiDiffusionV1_v11-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/wd-1.5-beta2_unCLIP/resolve/main/wd-1-5-beta2-aesthetic-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# VAE\n",
|
||||
"!wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/\n",
|
||||
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt -P ./models/vae/\n",
|
||||
"#!wget -c https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt -P ./models/vae/\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# Loras\n",
|
||||
"#!wget -c https://civitai.com/api/download/models/10350 -O ./models/loras/theovercomer8sContrastFix_sd21768.safetensors #theovercomer8sContrastFix SD2.x 768-v\n",
|
||||
"#!wget -c https://civitai.com/api/download/models/10638 -O ./models/loras/theovercomer8sContrastFix_sd15.safetensors #theovercomer8sContrastFix SD1.x\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_offset_example-lora_1.0.safetensors -P ./models/loras/ #SDXL offset noise lora\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# T2I-Adapter\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_depth_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_seg_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_sketch_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_keypose_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_openpose_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_color_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_canny_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"\n",
|
||||
"# T2I Styles Model\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_style_sd14v1.pth -P ./models/style_models/\n",
|
||||
"\n",
|
||||
"# CLIPVision model (needed for styles model)\n",
|
||||
"#!wget -c https://huggingface.co/openai/clip-vit-large-patch14/resolve/main/pytorch_model.bin -O ./models/clip_vision/clip_vit14.bin\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# ControlNet\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_seg_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11u_sd15_tile_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"\n",
|
||||
"# ControlNet SDXL\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-recolor-rank256.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-sketch-rank256.safetensors -P ./models/controlnet/\n",
|
||||
"\n",
|
||||
"# Controlnet Preprocessor nodes by Fannovel16\n",
|
||||
"#!cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors; cd comfy_controlnet_preprocessors && python install.py\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# GLIGEN\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/resolve/main/gligen_sd14_textbox_pruned_fp16.safetensors -P ./models/gligen/\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# ESRGAN upscale model\n",
|
||||
"#!wget -c https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ./models/upscale_models/\n",
|
||||
"#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x2.pth -P ./models/upscale_models/\n",
|
||||
"#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth -P ./models/upscale_models/\n",
|
||||
"\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"id": "kkkkkkkkkkkkkkk"
|
||||
},
|
||||
"source": [
|
||||
"### Run ComfyUI with cloudflared (Recommended Way)\n",
|
||||
"\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "jjjjjjjjjjjjjj"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"!wget -P ~ https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb\n",
|
||||
"!dpkg -i ~/cloudflared-linux-amd64.deb\n",
|
||||
"\n",
|
||||
"import subprocess\n",
|
||||
"import threading\n",
|
||||
"import time\n",
|
||||
"import socket\n",
|
||||
"import urllib.request\n",
|
||||
"\n",
|
||||
"def iframe_thread(port):\n",
|
||||
" while True:\n",
|
||||
" time.sleep(0.5)\n",
|
||||
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
|
||||
" result = sock.connect_ex(('127.0.0.1', port))\n",
|
||||
" if result == 0:\n",
|
||||
" break\n",
|
||||
" sock.close()\n",
|
||||
" print(\"\\nComfyUI finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\\n\")\n",
|
||||
"\n",
|
||||
" p = subprocess.Popen([\"cloudflared\", \"tunnel\", \"--url\", \"http://127.0.0.1:{}\".format(port)], stdout=subprocess.PIPE, stderr=subprocess.PIPE)\n",
|
||||
" for line in p.stderr:\n",
|
||||
" l = line.decode()\n",
|
||||
" if \"trycloudflare.com \" in l:\n",
|
||||
" print(\"This is the URL to access ComfyUI:\", l[l.find(\"http\"):], end='')\n",
|
||||
" #print(l, end='')\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
|
||||
"\n",
|
||||
"!python main.py --dont-print-server"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"id": "kkkkkkkkkkkkkk"
|
||||
},
|
||||
"source": [
|
||||
"### Run ComfyUI with localtunnel\n",
|
||||
"\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "jjjjjjjjjjjjj"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"!npm install -g localtunnel\n",
|
||||
"\n",
|
||||
"import subprocess\n",
|
||||
"import threading\n",
|
||||
"import time\n",
|
||||
"import socket\n",
|
||||
"import urllib.request\n",
|
||||
"\n",
|
||||
"def iframe_thread(port):\n",
|
||||
" while True:\n",
|
||||
" time.sleep(0.5)\n",
|
||||
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
|
||||
" result = sock.connect_ex(('127.0.0.1', port))\n",
|
||||
" if result == 0:\n",
|
||||
" break\n",
|
||||
" sock.close()\n",
|
||||
" print(\"\\nComfyUI finished loading, trying to launch localtunnel (if it gets stuck here localtunnel is having issues)\\n\")\n",
|
||||
"\n",
|
||||
" print(\"The password/enpoint ip for localtunnel is:\", urllib.request.urlopen('https://ipv4.icanhazip.com').read().decode('utf8').strip(\"\\n\"))\n",
|
||||
" p = subprocess.Popen([\"lt\", \"--port\", \"{}\".format(port)], stdout=subprocess.PIPE)\n",
|
||||
" for line in p.stdout:\n",
|
||||
" print(line.decode(), end='')\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
|
||||
"\n",
|
||||
"!python main.py --dont-print-server"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"id": "gggggggggg"
|
||||
},
|
||||
"source": [
|
||||
"### Run ComfyUI with colab iframe (use only in case the previous way with localtunnel doesn't work)\n",
|
||||
"\n",
|
||||
"You should see the ui appear in an iframe. If you get a 403 error, it's your firefox settings or an extension that's messing things up.\n",
|
||||
"\n",
|
||||
"If you want to open it in another window use the link.\n",
|
||||
"\n",
|
||||
"Note that some UI features like live image previews won't work because the colab iframe blocks websockets."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "hhhhhhhhhh"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import threading\n",
|
||||
"import time\n",
|
||||
"import socket\n",
|
||||
"def iframe_thread(port):\n",
|
||||
" while True:\n",
|
||||
" time.sleep(0.5)\n",
|
||||
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
|
||||
" result = sock.connect_ex(('127.0.0.1', port))\n",
|
||||
" if result == 0:\n",
|
||||
" break\n",
|
||||
" sock.close()\n",
|
||||
" from google.colab import output\n",
|
||||
" output.serve_kernel_port_as_iframe(port, height=1024)\n",
|
||||
" print(\"to open it in a window you can open this link here:\")\n",
|
||||
" output.serve_kernel_port_as_window(port)\n",
|
||||
"\n",
|
||||
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
|
||||
"\n",
|
||||
"!python main.py --dont-print-server"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"accelerator": "GPU",
|
||||
"colab": {
|
||||
"provenance": []
|
||||
},
|
||||
"gpuClass": "standard",
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"name": "python"
|
||||
}
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"id": "aaaaaaaaaa"
|
||||
},
|
||||
"source": [
|
||||
"Git clone the repo and install the requirements. (ignore the pip errors about protobuf)"
|
||||
]
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 0
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "bbbbbbbbbb"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# #@title Environment Setup\n",
|
||||
"\n",
|
||||
"from pathlib import Path\n",
|
||||
"\n",
|
||||
"OPTIONS = {}\n",
|
||||
"\n",
|
||||
"USE_GOOGLE_DRIVE = True #@param {type:\"boolean\"}\n",
|
||||
"UPDATE_COMFY_UI = True #@param {type:\"boolean\"}\n",
|
||||
"USE_COMFYUI_MANAGER = True #@param {type:\"boolean\"}\n",
|
||||
"INSTALL_CUSTOM_NODES_DEPENDENCIES = True #@param {type:\"boolean\"}\n",
|
||||
"OPTIONS['USE_GOOGLE_DRIVE'] = USE_GOOGLE_DRIVE\n",
|
||||
"OPTIONS['UPDATE_COMFY_UI'] = UPDATE_COMFY_UI\n",
|
||||
"OPTIONS['USE_COMFYUI_MANAGER'] = USE_COMFYUI_MANAGER\n",
|
||||
"OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES'] = INSTALL_CUSTOM_NODES_DEPENDENCIES\n",
|
||||
"\n",
|
||||
"current_dir = !pwd\n",
|
||||
"WORKSPACE = f\"{current_dir[0]}/ComfyUI\"\n",
|
||||
"\n",
|
||||
"if OPTIONS['USE_GOOGLE_DRIVE']:\n",
|
||||
" !echo \"Mounting Google Drive...\"\n",
|
||||
" %cd /\n",
|
||||
"\n",
|
||||
" from google.colab import drive\n",
|
||||
" drive.mount('/content/drive')\n",
|
||||
"\n",
|
||||
" WORKSPACE = \"/content/drive/MyDrive/ComfyUI\"\n",
|
||||
" %cd /content/drive/MyDrive\n",
|
||||
"\n",
|
||||
"![ ! -d $WORKSPACE ] && echo -= Initial setup ComfyUI =- && git clone https://github.com/comfyanonymous/ComfyUI\n",
|
||||
"%cd $WORKSPACE\n",
|
||||
"\n",
|
||||
"if OPTIONS['UPDATE_COMFY_UI']:\n",
|
||||
" !echo -= Updating ComfyUI =-\n",
|
||||
"\n",
|
||||
" # Correction of the issue of permissions being deleted on Google Drive.\n",
|
||||
" ![ -f \".ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat\n",
|
||||
" ![ -f \".ci/nightly/windows_base_files/run_nvidia_gpu.bat\" ] && chmod 755 .ci/nightly/windows_base_files/run_nvidia_gpu.bat\n",
|
||||
" ![ -f \".ci/update_windows/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/update_windows/update_comfyui_and_python_dependencies.bat\n",
|
||||
" ![ -f \".ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat\n",
|
||||
" ![ -f \".ci/update_windows/update.py\" ] && chmod 755 .ci/update_windows/update.py\n",
|
||||
" ![ -f \".ci/update_windows/update_comfyui.bat\" ] && chmod 755 .ci/update_windows/update_comfyui.bat\n",
|
||||
" ![ -f \".ci/update_windows/README_VERY_IMPORTANT.txt\" ] && chmod 755 .ci/update_windows/README_VERY_IMPORTANT.txt\n",
|
||||
" ![ -f \".ci/update_windows/run_cpu.bat\" ] && chmod 755 .ci/update_windows/run_cpu.bat\n",
|
||||
" ![ -f \".ci/update_windows/run_nvidia_gpu.bat\" ] && chmod 755 .ci/update_windows/run_nvidia_gpu.bat\n",
|
||||
"\n",
|
||||
" !git pull\n",
|
||||
"\n",
|
||||
"!echo -= Install dependencies =-\n",
|
||||
"!pip3 install accelerate\n",
|
||||
"!pip3 install einops transformers>=4.28.1 safetensors>=0.4.2 aiohttp pyyaml Pillow scipy tqdm psutil tokenizers>=0.13.3\n",
|
||||
"!pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121\n",
|
||||
"!pip3 install torchsde\n",
|
||||
"!pip3 install kornia>=0.7.1 spandrel soundfile sentencepiece\n",
|
||||
"\n",
|
||||
"if OPTIONS['USE_COMFYUI_MANAGER']:\n",
|
||||
" %cd custom_nodes\n",
|
||||
"\n",
|
||||
" # Correction of the issue of permissions being deleted on Google Drive.\n",
|
||||
" ![ -f \"ComfyUI-Manager/check.sh\" ] && chmod 755 ComfyUI-Manager/check.sh\n",
|
||||
" ![ -f \"ComfyUI-Manager/scan.sh\" ] && chmod 755 ComfyUI-Manager/scan.sh\n",
|
||||
" ![ -f \"ComfyUI-Manager/node_db/dev/scan.sh\" ] && chmod 755 ComfyUI-Manager/node_db/dev/scan.sh\n",
|
||||
" ![ -f \"ComfyUI-Manager/node_db/tutorial/scan.sh\" ] && chmod 755 ComfyUI-Manager/node_db/tutorial/scan.sh\n",
|
||||
" ![ -f \"ComfyUI-Manager/scripts/install-comfyui-venv-linux.sh\" ] && chmod 755 ComfyUI-Manager/scripts/install-comfyui-venv-linux.sh\n",
|
||||
" ![ -f \"ComfyUI-Manager/scripts/install-comfyui-venv-win.bat\" ] && chmod 755 ComfyUI-Manager/scripts/install-comfyui-venv-win.bat\n",
|
||||
"\n",
|
||||
" ![ ! -d ComfyUI-Manager ] && echo -= Initial setup ComfyUI-Manager =- && git clone https://github.com/ltdrdata/ComfyUI-Manager\n",
|
||||
" %cd ComfyUI-Manager\n",
|
||||
" !git pull\n",
|
||||
"\n",
|
||||
"%cd $WORKSPACE\n",
|
||||
"\n",
|
||||
"if OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES']:\n",
|
||||
" !echo -= Install custom nodes dependencies =-\n",
|
||||
" !pip install GitPython\n",
|
||||
" !python custom_nodes/ComfyUI-Manager/cm-cli.py restore-dependencies\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"id": "cccccccccc"
|
||||
},
|
||||
"source": [
|
||||
"Download some models/checkpoints/vae or custom comfyui nodes (uncomment the commands for the ones you want)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "dddddddddd"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Checkpoints\n",
|
||||
"\n",
|
||||
"### SDXL\n",
|
||||
"### I recommend these workflow examples: https://comfyanonymous.github.io/ComfyUI_examples/sdxl/\n",
|
||||
"\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"# SDXL ReVision\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/clip_vision_g/resolve/main/clip_vision_g.safetensors -P ./models/clip_vision/\n",
|
||||
"\n",
|
||||
"# SD1.5\n",
|
||||
"!wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"# SD2\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.safetensors -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"# Some SD1.5 anime style\n",
|
||||
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1_orangemixs.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A3_orangemixs.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/anything-v3-fp16-pruned.safetensors -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"# Waifu Diffusion 1.5 (anime style SD2.x 768-v)\n",
|
||||
"#!wget -c https://huggingface.co/waifu-diffusion/wd-1-5-beta3/resolve/main/wd-illusion-fp16.safetensors -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# unCLIP models\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/illuminatiDiffusionV1_v11_unCLIP/resolve/main/illuminatiDiffusionV1_v11-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/wd-1.5-beta2_unCLIP/resolve/main/wd-1-5-beta2-aesthetic-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# VAE\n",
|
||||
"!wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/\n",
|
||||
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt -P ./models/vae/\n",
|
||||
"#!wget -c https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt -P ./models/vae/\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# Loras\n",
|
||||
"#!wget -c https://civitai.com/api/download/models/10350 -O ./models/loras/theovercomer8sContrastFix_sd21768.safetensors #theovercomer8sContrastFix SD2.x 768-v\n",
|
||||
"#!wget -c https://civitai.com/api/download/models/10638 -O ./models/loras/theovercomer8sContrastFix_sd15.safetensors #theovercomer8sContrastFix SD1.x\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_offset_example-lora_1.0.safetensors -P ./models/loras/ #SDXL offset noise lora\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# T2I-Adapter\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_depth_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_seg_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_sketch_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_keypose_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_openpose_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_color_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_canny_sd14v1.pth -P ./models/controlnet/\n",
|
||||
"\n",
|
||||
"# T2I Styles Model\n",
|
||||
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_style_sd14v1.pth -P ./models/style_models/\n",
|
||||
"\n",
|
||||
"# CLIPVision model (needed for styles model)\n",
|
||||
"#!wget -c https://huggingface.co/openai/clip-vit-large-patch14/resolve/main/pytorch_model.bin -O ./models/clip_vision/clip_vit14.bin\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# ControlNet\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_seg_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11u_sd15_tile_fp16.safetensors -P ./models/controlnet/\n",
|
||||
"\n",
|
||||
"# ControlNet SDXL\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-recolor-rank256.safetensors -P ./models/controlnet/\n",
|
||||
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-sketch-rank256.safetensors -P ./models/controlnet/\n",
|
||||
"\n",
|
||||
"# Controlnet Preprocessor nodes by Fannovel16\n",
|
||||
"#!cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors; cd comfy_controlnet_preprocessors && python install.py\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# GLIGEN\n",
|
||||
"#!wget -c https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/resolve/main/gligen_sd14_textbox_pruned_fp16.safetensors -P ./models/gligen/\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# ESRGAN upscale model\n",
|
||||
"#!wget -c https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ./models/upscale_models/\n",
|
||||
"#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x2.pth -P ./models/upscale_models/\n",
|
||||
"#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth -P ./models/upscale_models/\n",
|
||||
"\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"id": "kkkkkkkkkkkkkkk"
|
||||
},
|
||||
"source": [
|
||||
"### Run ComfyUI with cloudflared (Recommended Way)\n",
|
||||
"\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "jjjjjjjjjjjjjj"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"!wget -P ~ https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb\n",
|
||||
"!dpkg -i ~/cloudflared-linux-amd64.deb\n",
|
||||
"\n",
|
||||
"import subprocess\n",
|
||||
"import threading\n",
|
||||
"import time\n",
|
||||
"import socket\n",
|
||||
"import urllib.request\n",
|
||||
"\n",
|
||||
"def iframe_thread(port):\n",
|
||||
" while True:\n",
|
||||
" time.sleep(0.5)\n",
|
||||
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
|
||||
" result = sock.connect_ex(('127.0.0.1', port))\n",
|
||||
" if result == 0:\n",
|
||||
" break\n",
|
||||
" sock.close()\n",
|
||||
" print(\"\\nComfyUI finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\\n\")\n",
|
||||
"\n",
|
||||
" p = subprocess.Popen([\"cloudflared\", \"tunnel\", \"--url\", \"http://127.0.0.1:{}\".format(port)], stdout=subprocess.PIPE, stderr=subprocess.PIPE)\n",
|
||||
" for line in p.stderr:\n",
|
||||
" l = line.decode()\n",
|
||||
" if \"trycloudflare.com \" in l:\n",
|
||||
" print(\"This is the URL to access ComfyUI:\", l[l.find(\"http\"):], end='')\n",
|
||||
" #print(l, end='')\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
|
||||
"\n",
|
||||
"!python main.py --dont-print-server"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"id": "kkkkkkkkkkkkkk"
|
||||
},
|
||||
"source": [
|
||||
"### Run ComfyUI with localtunnel\n",
|
||||
"\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "jjjjjjjjjjjjj"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"!npm install -g localtunnel\n",
|
||||
"\n",
|
||||
"import subprocess\n",
|
||||
"import threading\n",
|
||||
"import time\n",
|
||||
"import socket\n",
|
||||
"import urllib.request\n",
|
||||
"\n",
|
||||
"def iframe_thread(port):\n",
|
||||
" while True:\n",
|
||||
" time.sleep(0.5)\n",
|
||||
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
|
||||
" result = sock.connect_ex(('127.0.0.1', port))\n",
|
||||
" if result == 0:\n",
|
||||
" break\n",
|
||||
" sock.close()\n",
|
||||
" print(\"\\nComfyUI finished loading, trying to launch localtunnel (if it gets stuck here localtunnel is having issues)\\n\")\n",
|
||||
"\n",
|
||||
" print(\"The password/enpoint ip for localtunnel is:\", urllib.request.urlopen('https://ipv4.icanhazip.com').read().decode('utf8').strip(\"\\n\"))\n",
|
||||
" p = subprocess.Popen([\"lt\", \"--port\", \"{}\".format(port)], stdout=subprocess.PIPE)\n",
|
||||
" for line in p.stdout:\n",
|
||||
" print(line.decode(), end='')\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
|
||||
"\n",
|
||||
"!python main.py --dont-print-server"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"id": "gggggggggg"
|
||||
},
|
||||
"source": [
|
||||
"### Run ComfyUI with colab iframe (use only in case the previous way with localtunnel doesn't work)\n",
|
||||
"\n",
|
||||
"You should see the ui appear in an iframe. If you get a 403 error, it's your firefox settings or an extension that's messing things up.\n",
|
||||
"\n",
|
||||
"If you want to open it in another window use the link.\n",
|
||||
"\n",
|
||||
"Note that some UI features like live image previews won't work because the colab iframe blocks websockets."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "hhhhhhhhhh"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import threading\n",
|
||||
"import time\n",
|
||||
"import socket\n",
|
||||
"def iframe_thread(port):\n",
|
||||
" while True:\n",
|
||||
" time.sleep(0.5)\n",
|
||||
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
|
||||
" result = sock.connect_ex(('127.0.0.1', port))\n",
|
||||
" if result == 0:\n",
|
||||
" break\n",
|
||||
" sock.close()\n",
|
||||
" from google.colab import output\n",
|
||||
" output.serve_kernel_port_as_iframe(port, height=1024)\n",
|
||||
" print(\"to open it in a window you can open this link here:\")\n",
|
||||
" output.serve_kernel_port_as_window(port)\n",
|
||||
"\n",
|
||||
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
|
||||
"\n",
|
||||
"!python main.py --dont-print-server"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"accelerator": "GPU",
|
||||
"colab": {
|
||||
"provenance": []
|
||||
},
|
||||
"gpuClass": "standard",
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"name": "python"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 0
|
||||
}
|
||||
|
||||
@@ -84,6 +84,7 @@ if os.path.exists(pip_overrides_path):
|
||||
with open(pip_overrides_path, 'r', encoding="UTF-8", errors="ignore") as json_file:
|
||||
cm_global.pip_overrides = json.load(json_file)
|
||||
cm_global.pip_overrides['numpy'] = 'numpy<2'
|
||||
cm_global.pip_overrides['ultralytics'] = 'ultralytics==8.3.40' # for security
|
||||
|
||||
|
||||
def remap_pip_package(pkg):
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "comfyui-manager"
|
||||
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
|
||||
version = "2.52"
|
||||
version = "2.55.5"
|
||||
license = { file = "LICENSE.txt" }
|
||||
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]
|
||||
|
||||
|
||||
@@ -245,7 +245,10 @@ def get_py_urls_from_json(json_file):
|
||||
|
||||
|
||||
def clone_or_pull_git_repository(git_url):
|
||||
repo_name = git_url.split("/")[-1].split(".")[0]
|
||||
repo_name = git_url.split("/")[-1]
|
||||
if repo_name.endswith(".git"):
|
||||
repo_name = repo_name[:-4]
|
||||
|
||||
repo_dir = os.path.join(temp_dir, repo_name)
|
||||
|
||||
if os.path.exists(repo_dir):
|
||||
|
||||
Reference in New Issue
Block a user