scanner update

update DB
This commit is contained in:
dr.lt.data 2023-09-01 10:49:45 +09:00
parent 9b535f163c
commit 62650a46a1
5 changed files with 132 additions and 6 deletions

View File

@ -842,6 +842,16 @@
"install_type": "git-clone",
"description": "SDXL Prompt Styler is a node that enables you to style prompts based on predefined templates stored in a JSON file."
},
{
"author": "wolfden",
"title": "SDXL Prompt Styler (ustomized version by wolfden)",
"reference": "https://github.com/wolfden/ComfyUi_PromptStylers",
"files": [
"https://github.com/wolfden/ComfyUi_PromptStylers"
],
"install_type": "git-clone",
"description": "These custom nodes provide a variety of customized prompt stylers based on <a href='https://github.com/twri/sdxl_prompt_styler'>twri/SDXL Prompt Styler</a>."
},
{
"author": "daxthin",
"title": "facedetailer",

View File

@ -440,9 +440,14 @@
"https://github.com/JPS-GER/ComfyUI_JPS-Nodes": [
[
"Math Largest Int (JPS)",
"Math Multiply Float Float (JPS)",
"Math Multiply Int Float (JPS)",
"Math Multiply Int Int (JPS)",
"Math Resolution Multiply (JPS)",
"Menu Sampler Scheduler (JPS)",
"SDXL Additional Settings (JPS)",
"SDXL Basic Settings (JPS)",
"SDXL Recommended Resolution Calc (JPS)",
"SDXL Resolutions (JPS)",
"Switch Generation Mode (JPS)",
"Switch Generation Mode 4in1 (JPS)",
@ -849,15 +854,29 @@
],
"https://github.com/SeargeDP/SeargeSDXL": [
[
"SeargeAdvancedParameters",
"SeargeCheckpointLoader",
"SeargeConditionMixing",
"SeargeConditioningMuxer2",
"SeargeConditioningMuxer5",
"SeargeConditioningParameters",
"SeargeControlnetAdapterV2",
"SeargeControlnetModels",
"SeargeCustomAfterUpscaling",
"SeargeCustomAfterVaeDecode",
"SeargeCustomPromptMode",
"SeargeDebugPrinter",
"SeargeEnablerInputs",
"SeargeFloatConstant",
"SeargeFloatMath",
"SeargeFloatPair",
"SeargeGenerated1",
"SeargeGenerationParameters",
"SeargeHighResolution",
"SeargeImage2ImageAndInpainting",
"SeargeImageAdapterV2",
"SeargeImageSave",
"SeargeImageSaving",
"SeargeInput1",
"SeargeInput2",
"SeargeInput3",
@ -871,6 +890,10 @@
"SeargeIntegerScaler",
"SeargeLatentMuxer3",
"SeargeLoraLoader",
"SeargeLoras",
"SeargeMagicBox",
"SeargeModelSelector",
"SeargeOperatingMode",
"SeargeOutput1",
"SeargeOutput2",
"SeargeOutput3",
@ -879,21 +902,29 @@
"SeargeOutput6",
"SeargeOutput7",
"SeargeParameterProcessor",
"SeargePipelineStart",
"SeargePipelineTerminator",
"SeargePreviewImage",
"SeargePromptAdapterV2",
"SeargePromptCombiner",
"SeargePromptStyles",
"SeargePromptText",
"SeargeSDXLBasePromptEncoder",
"SeargeSDXLImage2ImageSampler",
"SeargeSDXLImage2ImageSampler2",
"SeargeSDXLImage2ImageSamplerV3",
"SeargeSDXLPromptEncoder",
"SeargeSDXLRefinerPromptEncoder",
"SeargeSDXLSampler",
"SeargeSDXLSampler2",
"SeargeSDXLSamplerV3",
"SeargeSamplerAdvanced",
"SeargeSamplerInputs",
"SeargeSaveFolderInputs",
"SeargeSeparator",
"SeargeStylePreprocessor",
"SeargeTextInputV2",
"SeargeUpscaleModelLoader",
"SeargeUpscaleModels",
"SeargeVAELoader"
],
{
@ -2551,6 +2582,28 @@
"title_aux": "wlsh_nodes"
}
],
"https://github.com/wolfden/ComfyUi_PromptStylers": [
[
"SDXLPromptStylerHorror",
"SDXLPromptStylerMisc",
"SDXLPromptStylerbyArtist",
"SDXLPromptStylerbyCamera",
"SDXLPromptStylerbyComposition",
"SDXLPromptStylerbyDepth",
"SDXLPromptStylerbyEnvironment",
"SDXLPromptStylerbyFilter",
"SDXLPromptStylerbyFocus",
"SDXLPromptStylerbyLighting",
"SDXLPromptStylerbyMood",
"SDXLPromptStylerbyOriginal",
"SDXLPromptStylerbySubject",
"SDXLPromptStylerbyTheme",
"SDXLPromptStylerbyTimeofDay"
],
{
"title_aux": "SDXL Prompt Styler (ustomized version by wolfden)"
}
],
"https://github.com/wsippel/comfyui_ws/raw/main/sdxl_utility.py": [
[
"SDXLResolutionPresets"

View File

@ -1,5 +1,15 @@
{
"custom_nodes": [
{
"author": "wolfden",
"title": "SDXL Prompt Styler (customized version by wolfden)",
"reference": "https://github.com/wolfden/ComfyUi_PromptStylers",
"files": [
"https://github.com/wolfden/ComfyUi_PromptStylers"
],
"install_type": "git-clone",
"description": "These custom nodes provide a variety of customized prompt stylers based on <a href='https://github.com/twri/sdxl_prompt_styler'>twri/SDXL Prompt Styler</a>."
},
{
"author": "Dream Project",
"title": "Dream Project Animation",

View File

@ -440,9 +440,14 @@
"https://github.com/JPS-GER/ComfyUI_JPS-Nodes": [
[
"Math Largest Int (JPS)",
"Math Multiply Float Float (JPS)",
"Math Multiply Int Float (JPS)",
"Math Multiply Int Int (JPS)",
"Math Resolution Multiply (JPS)",
"Menu Sampler Scheduler (JPS)",
"SDXL Additional Settings (JPS)",
"SDXL Basic Settings (JPS)",
"SDXL Recommended Resolution Calc (JPS)",
"SDXL Resolutions (JPS)",
"Switch Generation Mode (JPS)",
"Switch Generation Mode 4in1 (JPS)",
@ -849,15 +854,29 @@
],
"https://github.com/SeargeDP/SeargeSDXL": [
[
"SeargeAdvancedParameters",
"SeargeCheckpointLoader",
"SeargeConditionMixing",
"SeargeConditioningMuxer2",
"SeargeConditioningMuxer5",
"SeargeConditioningParameters",
"SeargeControlnetAdapterV2",
"SeargeControlnetModels",
"SeargeCustomAfterUpscaling",
"SeargeCustomAfterVaeDecode",
"SeargeCustomPromptMode",
"SeargeDebugPrinter",
"SeargeEnablerInputs",
"SeargeFloatConstant",
"SeargeFloatMath",
"SeargeFloatPair",
"SeargeGenerated1",
"SeargeGenerationParameters",
"SeargeHighResolution",
"SeargeImage2ImageAndInpainting",
"SeargeImageAdapterV2",
"SeargeImageSave",
"SeargeImageSaving",
"SeargeInput1",
"SeargeInput2",
"SeargeInput3",
@ -871,6 +890,10 @@
"SeargeIntegerScaler",
"SeargeLatentMuxer3",
"SeargeLoraLoader",
"SeargeLoras",
"SeargeMagicBox",
"SeargeModelSelector",
"SeargeOperatingMode",
"SeargeOutput1",
"SeargeOutput2",
"SeargeOutput3",
@ -879,21 +902,29 @@
"SeargeOutput6",
"SeargeOutput7",
"SeargeParameterProcessor",
"SeargePipelineStart",
"SeargePipelineTerminator",
"SeargePreviewImage",
"SeargePromptAdapterV2",
"SeargePromptCombiner",
"SeargePromptStyles",
"SeargePromptText",
"SeargeSDXLBasePromptEncoder",
"SeargeSDXLImage2ImageSampler",
"SeargeSDXLImage2ImageSampler2",
"SeargeSDXLImage2ImageSamplerV3",
"SeargeSDXLPromptEncoder",
"SeargeSDXLRefinerPromptEncoder",
"SeargeSDXLSampler",
"SeargeSDXLSampler2",
"SeargeSDXLSamplerV3",
"SeargeSamplerAdvanced",
"SeargeSamplerInputs",
"SeargeSaveFolderInputs",
"SeargeSeparator",
"SeargeStylePreprocessor",
"SeargeTextInputV2",
"SeargeUpscaleModelLoader",
"SeargeUpscaleModels",
"SeargeVAELoader"
],
{
@ -2551,6 +2582,28 @@
"title_aux": "wlsh_nodes"
}
],
"https://github.com/wolfden/ComfyUi_PromptStylers": [
[
"SDXLPromptStylerHorror",
"SDXLPromptStylerMisc",
"SDXLPromptStylerbyArtist",
"SDXLPromptStylerbyCamera",
"SDXLPromptStylerbyComposition",
"SDXLPromptStylerbyDepth",
"SDXLPromptStylerbyEnvironment",
"SDXLPromptStylerbyFilter",
"SDXLPromptStylerbyFocus",
"SDXLPromptStylerbyLighting",
"SDXLPromptStylerbyMood",
"SDXLPromptStylerbyOriginal",
"SDXLPromptStylerbySubject",
"SDXLPromptStylerbyTheme",
"SDXLPromptStylerbyTimeofDay"
],
{
"title_aux": "SDXL Prompt Styler (ustomized version by wolfden)"
}
],
"https://github.com/wsippel/comfyui_ws/raw/main/sdxl_utility.py": [
[
"SDXLResolutionPresets"

View File

@ -13,18 +13,18 @@ def scan_in_file(filename):
with open(filename, encoding='cp949') as file:
code = file.read()
pattern = r"NODE_CLASS_MAPPINGS\s*=\s*{([^}]*)}"
pattern = r"_CLASS_MAPPINGS\s*=\s*{([^}]*)}"
regex = re.compile(pattern, re.MULTILINE | re.DOTALL)
nodes = set()
class_dict = {}
pattern2 = r'NODE_CLASS_MAPPINGS\["(.*?)"\]'
pattern2 = r'_CLASS_MAPPINGS\["(.*?)"\]'
keys = re.findall(pattern2, code)
for key in keys:
nodes.add(key.strip())
pattern3 = r'NODE_CLASS_MAPPINGS\[\'(.*?)\'\]'
pattern3 = r'_CLASS_MAPPINGS\[\'(.*?)\'\]'
keys = re.findall(pattern3, code)
for key in keys:
nodes.add(key.strip())
@ -44,7 +44,7 @@ def scan_in_file(filename):
for key, value in class_dict.items():
nodes.add(key.strip())
update_pattern = r"NODE_CLASS_MAPPINGS.update\s*\({([^}]*)}\)"
update_pattern = r"_CLASS_MAPPINGS.update\s*\({([^}]*)}\)"
update_match = re.search(update_pattern, code)
if update_match:
update_dict_text = update_match.group(1)