Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
816a53a7b1 | ||
|
|
ced93b0525 | ||
|
|
524ff9a4a6 | ||
|
|
f15032f905 | ||
|
|
d7d31a19e5 | ||
|
|
df2a7ddca4 | ||
|
|
ba9c71ffa4 | ||
|
|
21b6c6569c | ||
|
|
92aba9565a | ||
|
|
6ea0aebb0b | ||
|
|
b5cdcb75b4 |
@@ -256,13 +256,14 @@ The following settings are applied based on the section marked as `is_default`.
|
|||||||
[default]
|
[default]
|
||||||
git_exe = <Manually specify the path to the git executable. If left empty, the default git executable path will be used.>
|
git_exe = <Manually specify the path to the git executable. If left empty, the default git executable path will be used.>
|
||||||
use_uv = <Use uv instead of pip for dependency installation.>
|
use_uv = <Use uv instead of pip for dependency installation.>
|
||||||
channel_url = https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main
|
default_cache_as_channel_url = <Determines whether to retrieve the DB designated as channel_url at startup>
|
||||||
bypass_ssl = <Set to True if SSL errors occur to disable SSL.>
|
bypass_ssl = <Set to True if SSL errors occur to disable SSL.>
|
||||||
file_logging = <Configure whether to create a log file used by ComfyUI-Manager.>
|
file_logging = <Configure whether to create a log file used by ComfyUI-Manager.>
|
||||||
windows_selector_event_loop_policy = <If an event loop error occurs on Windows, set this to True.>
|
windows_selector_event_loop_policy = <If an event loop error occurs on Windows, set this to True.>
|
||||||
model_download_by_agent = <When downloading models, use an agent instead of torchvision_download_url.>
|
model_download_by_agent = <When downloading models, use an agent instead of torchvision_download_url.>
|
||||||
downgrade_blacklist = <Set a list of packages to prevent downgrades. List them separated by commas.>
|
downgrade_blacklist = <Set a list of packages to prevent downgrades. List them separated by commas.>
|
||||||
security_level = <Set the security level.>
|
security_level = <Set the security level.>
|
||||||
|
always_lazy_install = <Whether to perform dependency installation on restart even in environments other than Windows.>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Additional Feature
|
## Additional Feature
|
||||||
|
|||||||
@@ -5108,7 +5108,7 @@
|
|||||||
"https://github.com/MNeMoNiCuZ/ComfyUI-mnemic-nodes"
|
"https://github.com/MNeMoNiCuZ/ComfyUI-mnemic-nodes"
|
||||||
],
|
],
|
||||||
"install_type": "git-clone",
|
"install_type": "git-clone",
|
||||||
"description": "Added new models to Groq LLM. Added a new node: Tiktoken Tokenizer Info."
|
"description": "Added Lora Loader - Tag node, originally by badjeff"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"author": "AI2lab",
|
"author": "AI2lab",
|
||||||
|
|||||||
@@ -5854,6 +5854,7 @@
|
|||||||
],
|
],
|
||||||
"https://github.com/MNeMoNiCuZ/ComfyUI-mnemic-nodes": [
|
"https://github.com/MNeMoNiCuZ/ComfyUI-mnemic-nodes": [
|
||||||
[
|
[
|
||||||
|
"LoraTagLoader",
|
||||||
"StringCleaning",
|
"StringCleaning",
|
||||||
"TiktokenTokenizer",
|
"TiktokenTokenizer",
|
||||||
"\u26d4 Generate Negative Prompt",
|
"\u26d4 Generate Negative Prompt",
|
||||||
@@ -5861,6 +5862,7 @@
|
|||||||
"\u2728\ud83d\udcac Groq LLM API",
|
"\u2728\ud83d\udcac Groq LLM API",
|
||||||
"\u2728\ud83d\udcdd Groq ALM API - Transcribe",
|
"\u2728\ud83d\udcdd Groq ALM API - Transcribe",
|
||||||
"\u2728\ud83d\udcf7 Groq VLM API",
|
"\u2728\ud83d\udcf7 Groq VLM API",
|
||||||
|
"\ud83c\udff7\ufe0f LoRA Loader Prompt Tags",
|
||||||
"\ud83d\udcbe Save Text File With Path",
|
"\ud83d\udcbe Save Text File With Path",
|
||||||
"\ud83d\udcc1 Get File Path",
|
"\ud83d\udcc1 Get File Path",
|
||||||
"\ud83d\udd20 Tiktoken Tokenizer Info",
|
"\ud83d\udd20 Tiktoken Tokenizer Info",
|
||||||
|
|||||||
2310
github-stats.json
2310
github-stats.json
File diff suppressed because it is too large
Load Diff
@@ -42,7 +42,7 @@ import manager_downloader
|
|||||||
from node_package import InstalledNodePackage
|
from node_package import InstalledNodePackage
|
||||||
|
|
||||||
|
|
||||||
version_code = [3, 16]
|
version_code = [3, 17, 7]
|
||||||
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
|
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
|
||||||
|
|
||||||
|
|
||||||
@@ -174,7 +174,7 @@ git_script_path = os.path.join(manager_util.comfyui_manager_path, "git_helper.py
|
|||||||
manager_files_path = None
|
manager_files_path = None
|
||||||
manager_config_path = None
|
manager_config_path = None
|
||||||
manager_channel_list_path = None
|
manager_channel_list_path = None
|
||||||
manager_startup_script_path = None
|
manager_startup_script_path:str = None
|
||||||
manager_snapshot_path = None
|
manager_snapshot_path = None
|
||||||
manager_pip_overrides_path = None
|
manager_pip_overrides_path = None
|
||||||
manager_components_path = None
|
manager_components_path = None
|
||||||
@@ -325,6 +325,8 @@ def normalize_channel(channel):
|
|||||||
return None
|
return None
|
||||||
elif channel.startswith('https://'):
|
elif channel.startswith('https://'):
|
||||||
return channel
|
return channel
|
||||||
|
elif channel.startswith('http://') and get_config()['http_channel_enabled'] == True:
|
||||||
|
return channel
|
||||||
|
|
||||||
tmp_dict = get_channel_dict()
|
tmp_dict = get_channel_dict()
|
||||||
channel_url = tmp_dict.get(channel)
|
channel_url = tmp_dict.get(channel)
|
||||||
@@ -1557,6 +1559,7 @@ def write_config():
|
|||||||
'downgrade_blacklist': get_config()['downgrade_blacklist'],
|
'downgrade_blacklist': get_config()['downgrade_blacklist'],
|
||||||
'security_level': get_config()['security_level'],
|
'security_level': get_config()['security_level'],
|
||||||
'skip_migration_check': get_config()['skip_migration_check'],
|
'skip_migration_check': get_config()['skip_migration_check'],
|
||||||
|
'always_lazy_install': get_config()['always_lazy_install']
|
||||||
}
|
}
|
||||||
|
|
||||||
directory = os.path.dirname(manager_config_path)
|
directory = os.path.dirname(manager_config_path)
|
||||||
@@ -1585,10 +1588,12 @@ def read_config():
|
|||||||
manager_util.use_uv = default_conf['use_uv'].lower() == 'true' if 'use_uv' in default_conf else False
|
manager_util.use_uv = default_conf['use_uv'].lower() == 'true' if 'use_uv' in default_conf else False
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
'http_channel_enabled': default_conf['http_channel_enabled'].lower() == 'true' if 'http_channel_enabled' in default_conf else False,
|
||||||
'preview_method': default_conf['preview_method'] if 'preview_method' in default_conf else manager_funcs.get_current_preview_method(),
|
'preview_method': default_conf['preview_method'] if 'preview_method' in default_conf else manager_funcs.get_current_preview_method(),
|
||||||
'git_exe': default_conf['git_exe'] if 'git_exe' in default_conf else '',
|
'git_exe': default_conf['git_exe'] if 'git_exe' in default_conf else '',
|
||||||
'use_uv': default_conf['use_uv'].lower() == 'true' if 'use_uv' in default_conf else False,
|
'use_uv': default_conf['use_uv'].lower() == 'true' if 'use_uv' in default_conf else False,
|
||||||
'channel_url': default_conf['channel_url'] if 'channel_url' in default_conf else DEFAULT_CHANNEL,
|
'channel_url': default_conf['channel_url'] if 'channel_url' in default_conf else DEFAULT_CHANNEL,
|
||||||
|
'default_cache_as_channel_url': default_conf['default_cache_as_channel_url'].lower() == 'true' if 'default_cache_as_channel_url' in default_conf else False,
|
||||||
'share_option': default_conf['share_option'] if 'share_option' in default_conf else 'all',
|
'share_option': default_conf['share_option'] if 'share_option' in default_conf else 'all',
|
||||||
'bypass_ssl': default_conf['bypass_ssl'].lower() == 'true' if 'bypass_ssl' in default_conf else False,
|
'bypass_ssl': default_conf['bypass_ssl'].lower() == 'true' if 'bypass_ssl' in default_conf else False,
|
||||||
'file_logging': default_conf['file_logging'].lower() == 'true' if 'file_logging' in default_conf else True,
|
'file_logging': default_conf['file_logging'].lower() == 'true' if 'file_logging' in default_conf else True,
|
||||||
@@ -1597,16 +1602,19 @@ def read_config():
|
|||||||
'model_download_by_agent': default_conf['model_download_by_agent'].lower() == 'true' if 'model_download_by_agent' in default_conf else False,
|
'model_download_by_agent': default_conf['model_download_by_agent'].lower() == 'true' if 'model_download_by_agent' in default_conf else False,
|
||||||
'downgrade_blacklist': default_conf['downgrade_blacklist'] if 'downgrade_blacklist' in default_conf else '',
|
'downgrade_blacklist': default_conf['downgrade_blacklist'] if 'downgrade_blacklist' in default_conf else '',
|
||||||
'skip_migration_check': default_conf['skip_migration_check'].lower() == 'true' if 'skip_migration_check' in default_conf else False,
|
'skip_migration_check': default_conf['skip_migration_check'].lower() == 'true' if 'skip_migration_check' in default_conf else False,
|
||||||
|
'always_lazy_install': default_conf['always_lazy_install'].lower() == 'true' if 'always_lazy_install' in default_conf else False,
|
||||||
'security_level': security_level,
|
'security_level': security_level,
|
||||||
}
|
}
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
manager_util.use_uv = False
|
manager_util.use_uv = False
|
||||||
return {
|
return {
|
||||||
|
'http_channel_enabled': False,
|
||||||
'preview_method': manager_funcs.get_current_preview_method(),
|
'preview_method': manager_funcs.get_current_preview_method(),
|
||||||
'git_exe': '',
|
'git_exe': '',
|
||||||
'use_uv': False,
|
'use_uv': False,
|
||||||
'channel_url': DEFAULT_CHANNEL,
|
'channel_url': DEFAULT_CHANNEL,
|
||||||
|
'default_cache_as_channel_url': False,
|
||||||
'share_option': 'all',
|
'share_option': 'all',
|
||||||
'bypass_ssl': False,
|
'bypass_ssl': False,
|
||||||
'file_logging': True,
|
'file_logging': True,
|
||||||
@@ -1615,6 +1623,7 @@ def read_config():
|
|||||||
'model_download_by_agent': False,
|
'model_download_by_agent': False,
|
||||||
'downgrade_blacklist': '',
|
'downgrade_blacklist': '',
|
||||||
'skip_migration_check': False,
|
'skip_migration_check': False,
|
||||||
|
'always_lazy_install': False,
|
||||||
'security_level': 'normal',
|
'security_level': 'normal',
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1624,6 +1633,8 @@ def get_config():
|
|||||||
|
|
||||||
if cached_config is None:
|
if cached_config is None:
|
||||||
cached_config = read_config()
|
cached_config = read_config()
|
||||||
|
if cached_config['http_channel_enabled']:
|
||||||
|
print("[ComfyUI-Manager] Warning: http channel enabled, make sure server in secure env")
|
||||||
|
|
||||||
return cached_config
|
return cached_config
|
||||||
|
|
||||||
@@ -1672,7 +1683,9 @@ def switch_to_default_branch(repo):
|
|||||||
|
|
||||||
|
|
||||||
def try_install_script(url, repo_path, install_cmd, instant_execution=False):
|
def try_install_script(url, repo_path, install_cmd, instant_execution=False):
|
||||||
if not instant_execution and ((len(install_cmd) > 0 and install_cmd[0].startswith('#')) or (platform.system() == "Windows" and comfy_ui_commit_datetime.date() >= comfy_ui_required_commit_datetime.date())):
|
if not instant_execution and (
|
||||||
|
(len(install_cmd) > 0 and install_cmd[0].startswith('#')) or platform.system() == "Windows" or get_config()['always_lazy_install']
|
||||||
|
):
|
||||||
if not os.path.exists(manager_startup_script_path):
|
if not os.path.exists(manager_startup_script_path):
|
||||||
os.makedirs(manager_startup_script_path)
|
os.makedirs(manager_startup_script_path)
|
||||||
|
|
||||||
@@ -2081,14 +2094,8 @@ async def get_data_by_mode(mode, filename, channel_url=None):
|
|||||||
cache_uri = str(manager_util.simple_hash(uri))+'_'+filename
|
cache_uri = str(manager_util.simple_hash(uri))+'_'+filename
|
||||||
cache_uri = os.path.join(manager_util.cache_dir, cache_uri)
|
cache_uri = os.path.join(manager_util.cache_dir, cache_uri)
|
||||||
|
|
||||||
if mode == "cache":
|
if mode == "cache" and manager_util.is_file_created_within_one_day(cache_uri):
|
||||||
if manager_util.is_file_created_within_one_day(cache_uri):
|
|
||||||
json_obj = await manager_util.get_data(cache_uri)
|
json_obj = await manager_util.get_data(cache_uri)
|
||||||
else:
|
|
||||||
json_obj = await manager_util.get_data(uri)
|
|
||||||
with manager_util.cache_lock:
|
|
||||||
with open(cache_uri, "w", encoding='utf-8') as file:
|
|
||||||
json.dump(json_obj, file, indent=4, sort_keys=True)
|
|
||||||
else:
|
else:
|
||||||
json_obj = await manager_util.get_data(uri)
|
json_obj = await manager_util.get_data(uri)
|
||||||
with manager_util.cache_lock:
|
with manager_util.cache_lock:
|
||||||
@@ -2427,7 +2434,7 @@ def check_state_of_git_node_pack_single(item, do_fetch=False, do_update_check=Tr
|
|||||||
|
|
||||||
def get_installed_pip_packages():
|
def get_installed_pip_packages():
|
||||||
# extract pip package infos
|
# extract pip package infos
|
||||||
cmd = manager_util.make_pip_cmd(['pip', 'freeze'])
|
cmd = manager_util.make_pip_cmd(['freeze'])
|
||||||
pips = subprocess.check_output(cmd, text=True).split('\n')
|
pips = subprocess.check_output(cmd, text=True).split('\n')
|
||||||
|
|
||||||
res = {}
|
res = {}
|
||||||
|
|||||||
@@ -1576,8 +1576,13 @@ cm_global.register_api('cm.try-install-custom-node', confirm_try_install)
|
|||||||
|
|
||||||
|
|
||||||
async def default_cache_update():
|
async def default_cache_update():
|
||||||
|
channel_url = core.get_config()['channel_url']
|
||||||
async def get_cache(filename):
|
async def get_cache(filename):
|
||||||
uri = f"{core.DEFAULT_CHANNEL}/{filename}"
|
if core.get_config()['default_cache_as_channel_url']:
|
||||||
|
uri = f"{channel_url}/{filename}"
|
||||||
|
else:
|
||||||
|
uri = f"{core.DEFAULT_CHANNEL}/{filename}"
|
||||||
|
|
||||||
cache_uri = str(manager_util.simple_hash(uri)) + '_' + filename
|
cache_uri = str(manager_util.simple_hash(uri)) + '_' + filename
|
||||||
cache_uri = os.path.join(manager_util.cache_dir, cache_uri)
|
cache_uri = os.path.join(manager_util.cache_dir, cache_uri)
|
||||||
|
|
||||||
@@ -1598,7 +1603,7 @@ async def default_cache_update():
|
|||||||
|
|
||||||
# load at least once
|
# load at least once
|
||||||
await core.unified_manager.reload('remote', dont_wait=False)
|
await core.unified_manager.reload('remote', dont_wait=False)
|
||||||
await core.unified_manager.get_custom_nodes('default', 'remote')
|
await core.unified_manager.get_custom_nodes(channel_url, 'remote')
|
||||||
|
|
||||||
logging.info("[ComfyUI-Manager] All startup tasks have been completed.")
|
logging.info("[ComfyUI-Manager] All startup tasks have been completed.")
|
||||||
|
|
||||||
|
|||||||
@@ -130,7 +130,12 @@ async def get_data(uri, silent=False):
|
|||||||
with open(uri, "r", encoding="utf-8") as f:
|
with open(uri, "r", encoding="utf-8") as f:
|
||||||
json_text = f.read()
|
json_text = f.read()
|
||||||
|
|
||||||
json_obj = json.loads(json_text)
|
try:
|
||||||
|
json_obj = json.loads(json_text)
|
||||||
|
except Exception as e:
|
||||||
|
logging.error(f"[ComfyUI-Manager] An error occurred while fetching '{uri}': {e}")
|
||||||
|
|
||||||
|
return {}
|
||||||
|
|
||||||
if not silent:
|
if not silent:
|
||||||
print(" [DONE]")
|
print(" [DONE]")
|
||||||
|
|||||||
@@ -400,6 +400,7 @@ export class CustomNodesManager {
|
|||||||
this.init();
|
this.init();
|
||||||
|
|
||||||
api.addEventListener("cm-queue-status", this.onQueueStatus);
|
api.addEventListener("cm-queue-status", this.onQueueStatus);
|
||||||
|
api.addEventListener('reconnected', this.onReconnected);
|
||||||
}
|
}
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
@@ -762,10 +763,9 @@ export class CustomNodesManager {
|
|||||||
|
|
||||||
".cn-manager-restart": {
|
".cn-manager-restart": {
|
||||||
click: () => {
|
click: () => {
|
||||||
if(rebootAPI()) {
|
this.close();
|
||||||
this.close();
|
this.manager_dialog.close();
|
||||||
this.manager_dialog.close();
|
rebootAPI();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -1385,19 +1385,14 @@ export class CustomNodesManager {
|
|||||||
|
|
||||||
this.install_context = {btn: btn, targets: target_items};
|
this.install_context = {btn: btn, targets: target_items};
|
||||||
|
|
||||||
for(let k in target_items) {
|
|
||||||
let item = this.install_context.targets[k];
|
|
||||||
this.grid.updateCell(item, "action");
|
|
||||||
}
|
|
||||||
|
|
||||||
if(errorMsg) {
|
if(errorMsg) {
|
||||||
this.showError(errorMsg);
|
this.showError(errorMsg);
|
||||||
show_message("Installation Error:\n"+errorMsg);
|
show_message("Installation Error:\n"+errorMsg);
|
||||||
|
|
||||||
// reset
|
// reset
|
||||||
for (const hash of list) {
|
for(let k in target_items) {
|
||||||
const item = this.grid.getRowItemBy("hash", hash);
|
let item = this.install_context.targets[k];
|
||||||
self.grid.updateCell(item, "action");
|
this.grid.updateCell(item, "action");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -1406,6 +1401,21 @@ export class CustomNodesManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async onReconnected(event) {
|
||||||
|
let self = CustomNodesManager.instance;
|
||||||
|
|
||||||
|
if(self.need_restart) {
|
||||||
|
self.need_restart = false;
|
||||||
|
|
||||||
|
const confirmed = await customConfirm("To apply the changes to the node pack's installation status, you need to refresh the browser. Would you like to refresh?");
|
||||||
|
if (!confirmed) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
window.location.reload(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
async onQueueStatus(event) {
|
async onQueueStatus(event) {
|
||||||
let self = CustomNodesManager.instance;
|
let self = CustomNodesManager.instance;
|
||||||
if(event.detail.status == 'in_progress' && event.detail.ui_target == 'nodepack_manager') {
|
if(event.detail.status == 'in_progress' && event.detail.ui_target == 'nodepack_manager') {
|
||||||
@@ -1879,6 +1889,7 @@ export class CustomNodesManager {
|
|||||||
|
|
||||||
showRestart() {
|
showRestart() {
|
||||||
this.element.querySelector(".cn-manager-restart").style.display = "block";
|
this.element.querySelector(".cn-manager-restart").style.display = "block";
|
||||||
|
this.need_restart = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
showStop() {
|
showStop() {
|
||||||
|
|||||||
@@ -933,7 +933,8 @@
|
|||||||
],
|
],
|
||||||
"https://github.com/IfnotFr/ComfyUI-Ifnot-Pack": [
|
"https://github.com/IfnotFr/ComfyUI-Ifnot-Pack": [
|
||||||
[
|
[
|
||||||
"Face Crop"
|
"Face Crop",
|
||||||
|
"Face Crop Mouth"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
"title_aux": "ComfyUI-Ifnot-Pack"
|
"title_aux": "ComfyUI-Ifnot-Pack"
|
||||||
@@ -3515,6 +3516,7 @@
|
|||||||
"Hy3DSetMeshPBRAttributes",
|
"Hy3DSetMeshPBRAttributes",
|
||||||
"Hy3DSetMeshPBRTextures",
|
"Hy3DSetMeshPBRTextures",
|
||||||
"Hy3DTorchCompileSettings",
|
"Hy3DTorchCompileSettings",
|
||||||
|
"Hy3DUploadMesh",
|
||||||
"Hy3DVAEDecode"
|
"Hy3DVAEDecode"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -10,16 +10,17 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"title": "A2V Multi Image Composite",
|
|
||||||
"author": "AiartvnTeam",
|
"author": "AiartvnTeam",
|
||||||
|
"title": "A2V Multi Image Composite",
|
||||||
"id": "Aiartvn",
|
"id": "Aiartvn",
|
||||||
"description": "Node for compositing multiple images with interactive preview and layer management",
|
"reference": "https://github.com/aiartvn/A2V_Multi_Image_Composite",
|
||||||
"repository": "https://github.com/aiartvn/A2V_Multi_Image_Composite",
|
|
||||||
"install_type": "git-clone",
|
|
||||||
"files": [
|
"files": [
|
||||||
"https://github.com/aiartvn/A2V_Multi_Image_Composite"
|
"https://github.com/aiartvn/A2V_Multi_Image_Composite"
|
||||||
],
|
],
|
||||||
|
"description": "Node for compositing multiple images with interactive preview and layer management",
|
||||||
|
"install_type": "git-clone",
|
||||||
"tags": ["image", "composite", "layer", "blend", "transform"]
|
"tags": ["image", "composite", "layer", "blend", "transform"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5854,6 +5854,7 @@
|
|||||||
],
|
],
|
||||||
"https://github.com/MNeMoNiCuZ/ComfyUI-mnemic-nodes": [
|
"https://github.com/MNeMoNiCuZ/ComfyUI-mnemic-nodes": [
|
||||||
[
|
[
|
||||||
|
"LoraTagLoader",
|
||||||
"StringCleaning",
|
"StringCleaning",
|
||||||
"TiktokenTokenizer",
|
"TiktokenTokenizer",
|
||||||
"\u26d4 Generate Negative Prompt",
|
"\u26d4 Generate Negative Prompt",
|
||||||
@@ -5861,6 +5862,7 @@
|
|||||||
"\u2728\ud83d\udcac Groq LLM API",
|
"\u2728\ud83d\udcac Groq LLM API",
|
||||||
"\u2728\ud83d\udcdd Groq ALM API - Transcribe",
|
"\u2728\ud83d\udcdd Groq ALM API - Transcribe",
|
||||||
"\u2728\ud83d\udcf7 Groq VLM API",
|
"\u2728\ud83d\udcf7 Groq VLM API",
|
||||||
|
"\ud83c\udff7\ufe0f LoRA Loader Prompt Tags",
|
||||||
"\ud83d\udcbe Save Text File With Path",
|
"\ud83d\udcbe Save Text File With Path",
|
||||||
"\ud83d\udcc1 Get File Path",
|
"\ud83d\udcc1 Get File Path",
|
||||||
"\ud83d\udd20 Tiktoken Tokenizer Info",
|
"\ud83d\udd20 Tiktoken Tokenizer Info",
|
||||||
|
|||||||
@@ -57,22 +57,6 @@ def is_import_failed_extension(name):
|
|||||||
return name in import_failed_extensions
|
return name in import_failed_extensions
|
||||||
|
|
||||||
|
|
||||||
def check_file_logging():
|
|
||||||
global enable_file_logging
|
|
||||||
try:
|
|
||||||
import configparser
|
|
||||||
config = configparser.ConfigParser()
|
|
||||||
config.read(manager_config_path)
|
|
||||||
default_conf = config['default']
|
|
||||||
|
|
||||||
if 'file_logging' in default_conf and default_conf['file_logging'].lower() == 'false':
|
|
||||||
enable_file_logging = False
|
|
||||||
except Exception:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
check_file_logging()
|
|
||||||
|
|
||||||
comfy_path = os.environ.get('COMFYUI_PATH')
|
comfy_path = os.environ.get('COMFYUI_PATH')
|
||||||
comfy_base_path = os.environ.get('COMFYUI_FOLDERS_BASE_PATH')
|
comfy_base_path = os.environ.get('COMFYUI_FOLDERS_BASE_PATH')
|
||||||
|
|
||||||
@@ -107,19 +91,27 @@ default_conf = {}
|
|||||||
|
|
||||||
def read_config():
|
def read_config():
|
||||||
global default_conf
|
global default_conf
|
||||||
import configparser
|
try:
|
||||||
config = configparser.ConfigParser()
|
import configparser
|
||||||
config.read(manager_config_path)
|
config = configparser.ConfigParser()
|
||||||
default_conf = config['default']
|
config.read(manager_config_path)
|
||||||
|
default_conf = config['default']
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
def read_uv_mode():
|
def read_uv_mode():
|
||||||
if 'use_uv' in default_conf:
|
if 'use_uv' in default_conf:
|
||||||
manager_util.use_uv = default_conf['use_uv']
|
manager_util.use_uv = default_conf['use_uv'].lower() == 'true'
|
||||||
|
|
||||||
|
def check_file_logging():
|
||||||
|
global enable_file_logging
|
||||||
|
if 'file_logging' in default_conf and default_conf['file_logging'].lower() == 'false':
|
||||||
|
enable_file_logging = False
|
||||||
|
|
||||||
|
|
||||||
read_config()
|
read_config()
|
||||||
read_uv_mode()
|
read_uv_mode()
|
||||||
|
check_file_logging()
|
||||||
|
|
||||||
cm_global.pip_overrides = {'numpy': 'numpy<2', 'ultralytics': 'ultralytics==8.3.40'}
|
cm_global.pip_overrides = {'numpy': 'numpy<2', 'ultralytics': 'ultralytics==8.3.40'}
|
||||||
if os.path.exists(manager_pip_overrides_path):
|
if os.path.exists(manager_pip_overrides_path):
|
||||||
@@ -429,8 +421,9 @@ except Exception as e:
|
|||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import git # noqa: F401
|
import git # noqa: F401
|
||||||
import toml # noqa: F401
|
import toml # noqa: F401
|
||||||
|
import rich # noqa: F401
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
my_path = os.path.dirname(__file__)
|
my_path = os.path.dirname(__file__)
|
||||||
requirements_path = os.path.join(my_path, "requirements.txt")
|
requirements_path = os.path.join(my_path, "requirements.txt")
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "comfyui-manager"
|
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."
|
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
|
||||||
version = "3.16"
|
version = "3.17.7"
|
||||||
license = { file = "LICENSE.txt" }
|
license = { file = "LICENSE.txt" }
|
||||||
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]
|
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]
|
||||||
|
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ typer
|
|||||||
rich
|
rich
|
||||||
typing-extensions
|
typing-extensions
|
||||||
toml
|
toml
|
||||||
|
uv
|
||||||
|
|||||||
Reference in New Issue
Block a user