mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-31 12:53:27 -08:00
extra_only / main_ui_only ScriptPostprocessing (#16374)
This commit is contained in:
parent
820fe8d2b5
commit
0bf36cf2ad
5 changed files with 15 additions and 12 deletions
|
|
@ -33,7 +33,7 @@ def create_auto_preprocessing_script_data():
|
|||
|
||||
for name in shared.opts.postprocessing_enable_in_main_ui:
|
||||
script = next(iter([x for x in scripts.postprocessing_scripts_data if x.script_class.name == name]), None)
|
||||
if script is None:
|
||||
if script is None or script.script_class.extra_only:
|
||||
continue
|
||||
|
||||
constructor = lambda s=script: ScriptPostprocessingForMainUI(s.script_class())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue