Skip to content

Commit

Permalink
* Fix process wildcards setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
acorderob committed Sep 5, 2024
1 parent faa5570 commit 956a47a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ppp.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class PromptPostProcessor: # pylint: disable=too-few-public-methods,too-many-in
"""

NAME = "Prompt Post-Processor"
VERSION = (2, 5, 1)
VERSION = (2, 5, 2)

class IFWILDCARDS_CHOICES(Enum):
ignore = "ignore"
Expand Down
2 changes: 1 addition & 1 deletion scripts/ppp_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def process(self, p: StableDiffusionProcessing, *args, **kwargs): # pylint: dis
options = {
"debug_level": getattr(opts, "ppp_gen_debug_level", DEBUG_LEVEL.none.value),
"pony_substrings": getattr(opts, "ppp_gen_ponysubstrings", PromptPostProcessor.DEFAULT_PONY_SUBSTRINGS),
"process_wildcards": getattr(opts, "ppp_wil_process_wildcards", True),
"process_wildcards": getattr(opts, "ppp_wil_processwildcards", True),
"if_wildcards": getattr(opts, "ppp_wil_ifwildcards", PromptPostProcessor.IFWILDCARDS_CHOICES.ignore.value),
"choice_separator": getattr(opts, "ppp_wil_choice_separator", PromptPostProcessor.DEFAULT_CHOICE_SEPARATOR),
"keep_choices_order": getattr(opts, "ppp_wil_keep_choices_order", False),
Expand Down

0 comments on commit 956a47a

Please sign in to comment.