From fb67492a0c6e70639fd2dda9a9d00c5a0f2909db Mon Sep 17 00:00:00 2001 From: ydobemos Date: Fri, 25 Nov 2022 13:05:46 +0200 Subject: [PATCH] Update StylePile.py Didn't reassign negative prompts with every subloop so it became bloated with every step. Now it's fixed. --- scripts/StylePile.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/StylePile.py b/scripts/StylePile.py index 1087cf1..f41b866 100644 --- a/scripts/StylePile.py +++ b/scripts/StylePile.py @@ -17,7 +17,7 @@ # Art movements from https://en.wikipedia.org/wiki/List_of_art_movements I threw out the ones that did not work # Portrait prompt - Portrait of an attractive young lady,flower field background, (by artist [X]:1.3), square ratio -# Negative - missing limbs, extra limbs, watermark,label,text +# Negative - missing limbs, extra limbs # Landscape prompt - Small house in the middle of a forest,near a lake # Action prompt - Astronaut floating in space,firing laser at alien ship,galaxy background @@ -658,6 +658,8 @@ class Script(scripts.Script): AllArtists + TypePositives + AllMovements + \ FinalResultColors + Preset[ddPreset] + MainNegative = copy_p.negative_prompt + # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-> for z in range(SubCycleCount): @@ -683,7 +685,7 @@ class Script(scripts.Script): # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-> # Clean up negative prompt - TempText = copy_p.negative_prompt + TypeNegatives + \ + TempText = MainNegative + TypeNegatives + \ AlwaysBad + PresetNegatives[ddPreset] TempText = " ".join(TempText.split())