From dda1abebb9fafdb724d0f9adc21623d9e8f8bfcc Mon Sep 17 00:00:00 2001 From: AIrjen <130234949+AIrjen@users.noreply.github.com> Date: Sat, 21 Oct 2023 08:58:33 +0200 Subject: [PATCH] some finishing touched --- build_dynamic_prompt.py | 7 +++++++ csvfiles/templates/templates.csv | 2 +- prompttester.py | 12 ++++++------ 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/build_dynamic_prompt.py b/build_dynamic_prompt.py index 16350ea..39d789f 100644 --- a/build_dynamic_prompt.py +++ b/build_dynamic_prompt.py @@ -1383,6 +1383,13 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all completeprompt += random.choice(artistbylist) + " OR(-landscapeartist-;-architectartist-), OR(-landscapeartist-;-architectartist-) OR(;and OR(-fantasyartist-;-scifiartist-;-photographyartist-;-digitalartist-;-graphicdesignartist-);uncommon), " doartistnormal = False + # else sometimes to something like this? + elif(random.randint(0,5) == 0): + artistbylist = ["art by", "designed by", "stylized by", "by"] + completeprompt += random.choice(artistbylist) + "OR(-portraitartist-;-characterartist-;-fantasyartist-;-scifiartist-;-photographyartist-;-digitalartist-;-graphicdesignartist-), OR(-portraitartist-;-characterartist-;-fantasyartist-;-scifiartist-;-photographyartist-;-digitalartist-;-graphicdesignartist-) and OR(-portraitartist-;-characterartist-;-fantasyartist-;-scifiartist-;-photographyartist-;-digitalartist-;-graphicdesignartist-)" + doartistnormal = False + + if(doartistnormal): diff --git a/csvfiles/templates/templates.csv b/csvfiles/templates/templates.csv index 7263714..ef6c6af 100644 --- a/csvfiles/templates/templates.csv +++ b/csvfiles/templates/templates.csv @@ -434,7 +434,7 @@ A -descriptor- -descriptor- baby -subject- made of crystal ball with low poly ey -descriptor- drawing like a -descriptor- -subject- with a daisy in hand, vector illustration for coloring book, black line art with white background;lexica;gallery;humanoid;-human- -subject- chef making -food-, manga style, surreal;lexica;gallery;animal;-animal- photo of a baby -subject- in the -minilocationaddition-, style of laurie greasley, studio ghibli, akira toriyama, james gilleard, genshin impact, trending pixiv fanbox, acrylic palette knife, 4k, vibrant colors, deviantart, trending on artstation, low details;lexica;gallery;animal;-animal- -colorful, -subject-s and -objectotal-s on pale black paper, very detailed illustration, sketch, concept art, ink outlines, smooth;lexica;gallery;animal;-animal- +colorful, -subject-s and -objecttotal-s on pale black paper, very detailed illustration, sketch, concept art, ink outlines, smooth;lexica;gallery;animal;-animal- landscape of -subject- countryside, coloring book, black and white, stars, black sky, clean lines, detailed, magical, van gogh style, wavy pattern;lexica;gallery;landscape;-culture- a -subject- figurine super detailed colored pencil drawing with fluo colors;lexica;gallery;animal;-animal- maximalist chaotic -subject-, birds eye view, illustrated by Hergé, style of tin tin comics, pen and ink;lexica;gallery;landscape;-location- diff --git a/prompttester.py b/prompttester.py index 48c14b3..7e74ff8 100644 --- a/prompttester.py +++ b/prompttester.py @@ -66,11 +66,11 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im print(result) break - if("setting" in result): - print("TEST THIS") - print("") - print(result) - break + #if("empire" in result): + # print("TEST THIS") + # print("") + # print(result) + # break steps += 1 @@ -79,7 +79,7 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im print("") print("All done!") -generateprompts(250,5 +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"