update scanner.py

update DB
This commit is contained in:
Dr.Lt.Data 2023-09-01 21:49:50 +09:00
parent 5e9926d036
commit a9ac832667
3 changed files with 8 additions and 2 deletions

View File

@ -1158,7 +1158,6 @@
"Images to RGB", "Images to RGB",
"Inset Image Bounds", "Inset Image Bounds",
"Integer place counter", "Integer place counter",
"KSampler",
"KSampler Cycle", "KSampler Cycle",
"LangSAM Masking", "LangSAM Masking",
"LangSAM Model Loader", "LangSAM Model Loader",
@ -2585,6 +2584,7 @@
"https://github.com/wolfden/ComfyUi_PromptStylers": [ "https://github.com/wolfden/ComfyUi_PromptStylers": [
[ [
"SDXLPromptStylerHorror", "SDXLPromptStylerHorror",
"SDXLPromptStylerMileHigh",
"SDXLPromptStylerMisc", "SDXLPromptStylerMisc",
"SDXLPromptStylerbyArtist", "SDXLPromptStylerbyArtist",
"SDXLPromptStylerbyCamera", "SDXLPromptStylerbyCamera",

View File

@ -1158,7 +1158,6 @@
"Images to RGB", "Images to RGB",
"Inset Image Bounds", "Inset Image Bounds",
"Integer place counter", "Integer place counter",
"KSampler",
"KSampler Cycle", "KSampler Cycle",
"LangSAM Masking", "LangSAM Masking",
"LangSAM Model Loader", "LangSAM Model Loader",
@ -2585,6 +2584,7 @@
"https://github.com/wolfden/ComfyUi_PromptStylers": [ "https://github.com/wolfden/ComfyUi_PromptStylers": [
[ [
"SDXLPromptStylerHorror", "SDXLPromptStylerHorror",
"SDXLPromptStylerMileHigh",
"SDXLPromptStylerMisc", "SDXLPromptStylerMisc",
"SDXLPromptStylerbyArtist", "SDXLPromptStylerbyArtist",
"SDXLPromptStylerbyCamera", "SDXLPromptStylerbyCamera",

View File

@ -4,6 +4,7 @@ import json
from git import Repo from git import Repo
from torchvision.datasets.utils import download_url from torchvision.datasets.utils import download_url
builtin_nodes = ["KSampler"]
def scan_in_file(filename): def scan_in_file(filename):
try: try:
@ -61,8 +62,13 @@ def scan_in_file(filename):
key, value = line[1:].strip().split(':') key, value = line[1:].strip().split(':')
metadata[key.strip()] = value.strip() metadata[key.strip()] = value.strip()
for x in builtin_nodes:
if x in nodes:
nodes.remove(x)
return nodes, metadata return nodes, metadata
def get_py_file_paths(dirname): def get_py_file_paths(dirname):
file_paths = [] file_paths = []