From 990cb0bde65e737936a40b5805e9bf8657f4d7ae Mon Sep 17 00:00:00 2001 From: AIrjen <130234949+AIrjen@users.noreply.github.com> Date: Sun, 15 Oct 2023 22:02:17 +0200 Subject: [PATCH] Fix for only artist mode --- build_dynamic_prompt.py | 1 + prompttester.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build_dynamic_prompt.py b/build_dynamic_prompt.py index 77de064..14290ac 100644 --- a/build_dynamic_prompt.py +++ b/build_dynamic_prompt.py @@ -1426,6 +1426,7 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all # replace artist wildcards completeprompt = replacewildcard(completeprompt, insanitylevel, "-artist-", artistlist, False, False) + completeprompt = replacewildcard(completeprompt, insanitylevel, "-gregmode-", gregmodelist, False, False) # clean it up completeprompt = cleanup(completeprompt, advancedprompting, insanitylevel) diff --git a/prompttester.py b/prompttester.py index 87859a8..68791e6 100644 --- a/prompttester.py +++ b/prompttester.py @@ -75,7 +75,8 @@ generateprompts(10,5 ,"all" # subject ,"all" # artists ,"all" # image type "only other types", "only templates mode", "art blaster mode", "quality vomit mode", "color cannon mode", "unique art mode", "massive madness mode", "photo fantasy mode", "subject only mode", "fixed styles mode" - ,False,"","","PREFIXPROMPT" + , False # only artists + ,"","","PREFIXPROMPT" ,"SUFFIXPROMPT" ,"",1,"" ,"" # subject override