* Added option to cleanup output variables.

This commit is contained in:
Antonio Cordero Balcazar
2026-03-28 16:39:29 +01:00
parent 87d12ca53f
commit dc8b4b6631
5 changed files with 52 additions and 29 deletions
+1
View File
@@ -320,6 +320,7 @@ class PromptPostProcessorA1111Script(scripts.Script):
opts, "ppp_stn_ignorerepeats", PromptPostProcessor.DEFAULT_STN_IGNORE_REPEATS
),
"do_cleanup": True,
"cleanup_variables": True,
"cleanup_extra_spaces": getattr(opts, "ppp_cup_extraspaces", PromptPostProcessor.DEFAULT_CUP_EXTRA_SPACES),
"cleanup_empty_constructs": getattr(
opts, "ppp_cup_emptyconstructs", PromptPostProcessor.DEFAULT_CUP_EMPTY_CONSTRUCTS