Browse Source

add missing .json

pull/79/head
dr.lt.data 1 year ago
parent
commit
9c2e31154c
  1. 17
      __init__.py
  2. 4
      node_db/new/alter-list.json
  3. 212
      node_db/new/model-list.json

17
__init__.py

@ -55,7 +55,7 @@ sys.path.append('../..')
from torchvision.datasets.utils import download_url
# ensure .js
print("### Loading: ComfyUI-Manager (V0.25.2)")
print("### Loading: ComfyUI-Manager (V0.25.3)")
comfy_ui_required_revision = 1240
comfy_ui_revision = "Unknown"
@ -98,11 +98,24 @@ def read_config():
config.read(config_path)
default_conf = config['default']
subscription_url_list_is_valid = True
if 'subscription_url_list' in default_conf:
for item in default_conf['subscription_url_list'].split(","):
if len(item.split("::")) != 2:
subscription_url_list_is_valid = False
break
if subscription_url_list_is_valid:
sub_url_list = default_conf['subscription_url_list']
else:
print(f"[WARN] ComfyUI-Manager: subscription_url_list is invalid format")
sub_url_list = 'default::https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main,new::https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/node_db/new,'
return {
'preview_method': default_conf['preview_method'] if 'preview_method' in default_conf else get_current_preview_method(),
'badge_mode': default_conf['badge_mode'] if 'badge_mode' in default_conf else 'none',
'subscription_url': default_conf['subscription_url'] if 'subscription_url' in default_conf else 'https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main',
'subscription_url_list': default_conf['subscription_url_list'] if 'subscription_url_list' in default_conf else 'default::https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main,new::https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/node_db/new,'
'subscription_url_list': sub_url_list
}
except Exception:

4
node_db/new/alter-list.json

@ -0,0 +1,4 @@
{
"items": [
]
}

212
node_db/new/model-list.json

@ -0,0 +1,212 @@
{
"models": [
{
"name": "Inswapper (face swap)",
"type": "insightface",
"base" : "inswapper",
"save_path": "insightface",
"description": "Checkpoint of the insightface swapper model (used by Comfy-Roop and comfy_mtb)",
"reference": "https://huggingface.co/deepinsight/inswapper/",
"filename": "inswapper_128.onnx",
"url": "https://huggingface.co/deepinsight/inswapper/resolve/main/inswapper_128.onnx"
},
{
"name": "CLIPVision model (stabilityai/clip_vision_g)",
"type": "clip_vision",
"base": "SDXL",
"save_path": "clip_vision/SDXL",
"description": "[3.69GB] clip_g vision model",
"reference": "https://huggingface.co/stabilityai/control-lora",
"filename": "clip_vision_g.safetensors",
"url": "https://huggingface.co/stabilityai/control-lora/resolve/main/revision/clip_vision_g.safetensors"
},
{
"name": "CLIPVision model (IP-Adapter)",
"type": "clip_vision",
"base": "SD1.5",
"save_path": "clip_vision/SD1.5",
"description": "[2.5GB] CLIPVision model (needed for IP-Adapter)",
"reference": "https://huggingface.co/h94/IP-Adapter",
"filename": "pytorch_model.bin",
"url": "https://huggingface.co/h94/IP-Adapter/resolve/main/models/image_encoder/pytorch_model.bin"
},
{
"name": "CLIPVision model (IP-Adapter)",
"type": "clip_vision",
"base": "SDXL",
"save_path": "clip_vision/SDXL",
"description": "[3.69GB] CLIPVision model (needed for IP-Adapter)",
"reference": "https://huggingface.co/h94/IP-Adapter",
"filename": "pytorch_model.bin",
"url": "https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/image_encoder/pytorch_model.bin"
},
{
"name": "stabilityai/control-lora-canny-rank128.safetensors",
"type": "controlnet",
"base": "SDXL",
"save_path": "default",
"description": "Control-LoRA: canny rank128",
"reference": "https://huggingface.co/stabilityai/control-lora",
"filename": "control-lora-canny-rank128.safetensors",
"url": "https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank128/control-lora-canny-rank128.safetensors"
},
{
"name": "stabilityai/control-lora-depth-rank128.safetensors",
"type": "controlnet",
"base": "SDXL",
"save_path": "default",
"description": "Control-LoRA: depth rank128",
"reference": "https://huggingface.co/stabilityai/control-lora",
"filename": "control-lora-depth-rank128.safetensors",
"url": "https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank128/control-lora-depth-rank128.safetensors"
},
{
"name": "stabilityai/control-lora-recolor-rank128.safetensors",
"type": "controlnet",
"base": "SDXL",
"save_path": "default",
"description": "Control-LoRA: recolor rank128",
"reference": "https://huggingface.co/stabilityai/control-lora",
"filename": "control-lora-recolor-rank128.safetensors",
"url": "https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank128/control-lora-recolor-rank128.safetensors"
},
{
"name": "stabilityai/control-lora-sketch-rank128-metadata.safetensors",
"type": "controlnet",
"base": "SDXL",
"save_path": "default",
"description": "Control-LoRA: sketch rank128 metadata",
"reference": "https://huggingface.co/stabilityai/control-lora",
"filename": "control-lora-sketch-rank128-metadata.safetensors",
"url": "https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank128/control-lora-sketch-rank128-metadata.safetensors"
},
{
"name": "stabilityai/control-lora-canny-rank256.safetensors",
"type": "controlnet",
"base": "SDXL",
"save_path": "default",
"description": "Control-LoRA: canny rank256",
"reference": "https://huggingface.co/stabilityai/control-lora",
"filename": "control-lora-canny-rank256.safetensors",
"url": "https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors"
},
{
"name": "stabilityai/control-lora-depth-rank256.safetensors",
"type": "controlnet",
"base": "SDXL",
"save_path": "default",
"description": "Control-LoRA: depth rank256",
"reference": "https://huggingface.co/stabilityai/control-lora",
"filename": "control-lora-depth-rank256.safetensors",
"url": "https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors"
},
{
"name": "stabilityai/control-lora-recolor-rank256.safetensors",
"type": "controlnet",
"base": "SDXL",
"save_path": "default",
"description": "Control-LoRA: recolor rank256",
"reference": "https://huggingface.co/stabilityai/control-lora",
"filename": "control-lora-recolor-rank256.safetensors",
"url": "https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-recolor-rank256.safetensors"
},
{
"name": "stabilityai/control-lora-sketch-rank256.safetensors",
"type": "controlnet",
"base": "SDXL",
"save_path": "default",
"description": "Control-LoRA: sketch rank256",
"reference": "https://huggingface.co/stabilityai/control-lora",
"filename": "control-lora-sketch-rank256.safetensors",
"url": "https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-sketch-rank256.safetensors"
},
{
"name": "kohya-ss/ControlNet-LLLite: SDXL Canny Anime",
"type": "controlnet",
"base": "SDXL",
"save_path": "custom_nodes/ControlNet-LLLite-ComfyUI/models",
"description": "[46.2MB] An extremely compactly designed controlnet model (a.k.a. ControlNet-LLLite). Note: The model structure is highly experimental and may be subject to change in the future.",
"reference": "https://huggingface.co/kohya-ss/controlnet-lllite",
"filename": "controllllite_v01032064e_sdxl_canny_anime.safetensors",
"url": "https://huggingface.co/kohya-ss/controlnet-lllite/resolve/main/controllllite_v01032064e_sdxl_canny_anime.safetensors"
},
{
"name": "SDXL-controlnet: OpenPose (v2)",
"type": "controlnet",
"base": "SDXL",
"save_path": "default",
"description": "ControlNet openpose model for SDXL",
"reference": "https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0",
"filename": "OpenPoseXL2.safetensors",
"url": "https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0/resolve/main/OpenPoseXL2.safetensors"
},
{
"name": "controlnet-SargeZT/controlnet-sd-xl-1.0-softedge-dexined",
"type": "controlnet",
"base": "SDXL",
"save_path": "default",
"description": "ControlNet softedge model for SDXL",
"reference": "https://huggingface.co/SargeZT/controlnet-sd-xl-1.0-softedge-dexined",
"filename": "controlnet-sd-xl-1.0-softedge-dexined.safetensors",
"url": "https://huggingface.co/SargeZT/controlnet-sd-xl-1.0-softedge-dexined/resolve/main/controlnet-sd-xl-1.0-softedge-dexined.safetensors"
},
{
"name": "controlnet-SargeZT/controlnet-sd-xl-1.0-depth-16bit-zoe",
"type": "controlnet",
"base": "SDXL",
"save_path": "default",
"description": "ControlNet depth-zoe model for SDXL",
"reference": "https://huggingface.co/SargeZT/controlnet-sd-xl-1.0-depth-16bit-zoe",
"filename": "depth-zoe-xl-v1.0-controlnet.safetensors",
"url": "https://huggingface.co/SargeZT/controlnet-sd-xl-1.0-depth-16bit-zoe/resolve/main/depth-zoe-xl-v1.0-controlnet.safetensors"
},
{
"name": "animatediff/mmd_sd_v14.ckpt",
"type": "animatediff",
"base": "SD1.x",
"save_path": "custom_nodes/comfyui-animatediff/models",
"description": "Pressing 'install' directly downloads the model from the ArtVentureX/AnimateDiff extension node. (Note: Requires ComfyUI-Manager V0.24 or above)",
"reference": "https://huggingface.co/guoyww/animatediff",
"filename": "mm_sd_v14.ckpt",
"url": "https://huggingface.co/guoyww/animatediff/resolve/main/mm_sd_v14.ckpt"
},
{
"name": "animatediff/mm_sd_v15.ckpt",
"type": "animatediff",
"base": "SD1.x",
"save_path": "custom_nodes/comfyui-animatediff/models",
"description": "Pressing 'install' directly downloads the model from the ArtVentureX/AnimateDiff extension node. (Note: Requires ComfyUI-Manager V0.24 or above)",
"reference": "https://huggingface.co/guoyww/animatediff",
"filename": "mm_sd_v15.ckpt",
"url": "https://huggingface.co/guoyww/animatediff/resolve/main/mm_sd_v15.ckpt"
},
{
"name": "ip-adapter_sdxl.bin",
"type": "IP-Adapter",
"base": "SDXL",
"save_path": "custom_nodes/IPAdapter-ComfyUI/models",
"description": "Pressing 'install' directly downloads the model from the IPAdapter-ComfyUI/models extension node. (Note: Requires ComfyUI-Manager V0.24 or above)",
"reference": "https://huggingface.co/h94/IP-Adapter",
"filename": "ip-adapter_sdxl.bin",
"url": "https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter_sdxl.bin"
},
{
"name": "ip-adapter_sd15.bin",
"type": "IP-Adapter",
"base": "SD1.5",
"save_path": "custom_nodes/IPAdapter-ComfyUI/models",
"description": "Pressing 'install' directly downloads the model from the IPAdapter-ComfyUI/models extension node. (Note: Requires ComfyUI-Manager V0.24 or above)",
"reference": "https://huggingface.co/h94/IP-Adapter",
"filename": "ip-adapter_sd15.bin",
"url": "https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter_sd15.bin"
}
]
}
Loading…
Cancel
Save