Spaces:
retroemu98
/
Running on Zero

RioShiina commited on
Commit
7fb97e6
·
verified ·
1 Parent(s): 598748a

refactor: unify prompt enhancer chains into a data-driven pipeline

Browse files

Replace the three per-architecture prompt enhancer injectors with a single
registry-driven implementation, and modernize the node it emits.

22 files changed +1706 -2092
Files changed (22)
chain_injectors/__init__.py+12
chain_injectors/flux3_prompt_upsampler_injector.pyDeleted-304
chain_injectors/ming_image_prompt_enhancer_injector.pyDeleted-262
chain_injectors/prompt_enhancer_injector.pyAdded+489
chain_injectors/qwen_image_2_1_prompt_enhancer_injector.pyDeleted-245
core/pipelines/pipeline_input_processor.py+13-35
core/pipelines/sd_image_pipeline.py+2-6
core/pipelines/workflow_executor.py+86-1
core/pipelines/workflow_recipes/_partials/conditioning/flux3.yaml+3-2
core/pipelines/workflow_recipes/_partials/conditioning/ming-image.yaml+3-2
core/pipelines/workflow_recipes/_partials/conditioning/qwen-image-2.1.yaml+3-2
core/workflow_assembler.py+30-6
mcp_tools/common.py+25-145
ui/events/change_handlers.py+13-9
ui/events/main.py+13-17
ui/events/run_handlers.py+10-25
ui/imagegen_ui.py+2-5
ui/shared/ui_components.py+916-947
yaml/chain_features.yaml+13-61
yaml/model_architecture_features.yaml+3-3
yaml/prompt_enhancer.yamlAdded+65
yaml/task_features.yaml+5-15