* Better debug log. * Set commands support lazy evaluation and content addition. * Unified in one tree and processing phase. * Supports Flux. * Fix evaluation of string variable as truthy. * Show invalid wildcards. * Better detection of installed UI. * Improved cache of results. * Works as a ComfyUI node. * Debug setting changed to debug level. * Fixes in variable use. * Added timing reporting. * Detection of more model types. * Installation script for requirements. * Extension metadata for A1111. * Lark grammar in separate file and cached. * Improved conditions for if command. * Avoid repeats in the processing of prompts. * Fix multiple loading of settings.
29 lines
937 B
Python
29 lines
937 B
Python
"""
|
|
@author: ACB
|
|
@title: Prompt Post Processor
|
|
@nickname: ACB PPP
|
|
@description: Node for processing prompts. Includes the following options: send to negative prompt, set variables, if/elif/else command for conditional content, wildcards and choices.
|
|
"""
|
|
|
|
import sys
|
|
import os
|
|
|
|
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
from .ppp_comfyui import PromptPostProcessorComfyUINode
|
|
|
|
NODE_CLASS_MAPPINGS = {"ACBPromptPostProcessor": PromptPostProcessorComfyUINode}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {"ACBPromptPostProcessor": "ACB Prompt Post Processor"}
|
|
|
|
MANIFEST = {
|
|
"name": "ACB Prompt Post Processor",
|
|
"version": PromptPostProcessorComfyUINode.VERSION,
|
|
"author": "ACB",
|
|
"project": "https://github.com/acorderob/sd-webui-prompt-postprocessor",
|
|
"description": "Node for processing prompts",
|
|
"license": "MIT",
|
|
}
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|