You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Better processing of interruptions using an exception.
* New option on_warning to stop on invalid content.
* New option cleanup_extra_separators_include_eol to choose whether to also remove adjacent EOLs when removing extra separators or not. Default is not to do it. In previous versions it was forced.
* Refactoring of the cleanup method.
* Only simplify attention modifiers when the merge attention option is set.
* A1111: avoid logging about HR prompts and avoid saving them in extra metadata when not different.
* A1111: consider options and environment info in the caching of results.
* Some refactorings.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
3
3
The Prompt PostProcessor (PPP), formerly known as "sd-webui-sendtonegative", is an extension designed to process the prompt, possibly after other extensions have modified it. This extension is compatible with:
Copy file name to clipboardExpand all lines: docs/CONFIG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ With this prompt: `__quality__, 1girl, ${head:__eyes__, __hair__, __expression__
33
33
### General settings
34
34
35
35
***Debug level**: what to write to the console. Note: in *SD.Next* debug messages only show if you launch it with the `--debug` argument.
36
+
***What to do on invalid content warnings?**: warn on the console or stop the generation.
36
37
***Model variant definitions**: definitions for model variants to be recognized based on strings found in the full filename.
37
38
38
39
The format for each line is (with *kind* being one of the base model identifiers or not defined):
@@ -65,6 +66,7 @@ With this prompt: `__quality__, 1girl, ${head:__eyes__, __hair__, __expression__
65
66
***Remove empty constructs**: removes attention/scheduling/alternation constructs when they are invalid.
66
67
***Remove extra separators**: removes unnecessary separators. This applies to the configured separator and regular commas.
67
68
***Remove additional extra separators**: removes unnecessary separators at start or end of lines. This applies to the configured separator and regular commas.
69
+
***The extra separators options also remove EOLs**: in the previous two options it also removes EOLs attached to the separators.
68
70
***Clean up around BREAKs**: removes consecutive BREAKs and unnecessary commas and space around them.
69
71
***Use EOL instead of Space before BREAKs**: add a newline before BREAKs.
70
72
***Clean up around ANDs**: removes consecutive ANDs and unnecessary commas and space around them.
Copy file name to clipboardExpand all lines: pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
[project]
2
2
name = "sd-webui-prompt-postprocessor"
3
3
description = "Stable Diffusion WebUI & ComfyUI extension to post-process the prompt, including sending content from the prompt to the negative prompt and wildcards."
0 commit comments