Browse Source

update scanner.py

update DB
pull/92/head
Dr.Lt.Data 1 year ago
parent
commit
a9ac832667
  1. 2
      extension-node-map.json
  2. 2
      node_db/new/extension-node-map.json
  3. 6
      scanner.py

2
extension-node-map.json

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

2
node_db/new/extension-node-map.json

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

6
scanner.py

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

Loading…
Cancel
Save