From ec216b439077652b03074cbfc7a6eaad709985de Mon Sep 17 00:00:00 2001 From: AIrjen <130234949+AIrjen@users.noreply.github.com> Date: Sat, 21 Oct 2023 09:04:27 +0200 Subject: [PATCH] minor fix --- csvfiles/human_activities.csv | 1 + prompttester.py | 2 +- promptvarianttester.py | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/csvfiles/human_activities.csv b/csvfiles/human_activities.csv index 07e5148..3961b75 100644 --- a/csvfiles/human_activities.csv +++ b/csvfiles/human_activities.csv @@ -57,3 +57,4 @@ sitting and talking Walking up a stairs Walking down a stairs Walking down a OR(street;-minilocation-) +casting a -element- magic spell \ No newline at end of file diff --git a/prompttester.py b/prompttester.py index 7e74ff8..3d88bc1 100644 --- a/prompttester.py +++ b/prompttester.py @@ -79,7 +79,7 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im print("") print("All done!") -generateprompts(10,5 +generateprompts(1000,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" diff --git a/promptvarianttester.py b/promptvarianttester.py index 9edbb33..6fac55e 100644 --- a/promptvarianttester.py +++ b/promptvarianttester.py @@ -13,11 +13,12 @@ from build_dynamic_prompt import * def generatepromptvariants(amount = 1,prompt="",insanitylevel="5"): loops = int(amount) # amount of images to generate steps = 0 + originalprompt = prompt insanitylevel = int(insanitylevel) while steps < loops: # build prompt - if(prompt == ""): + if(originalprompt == ""): prompt = build_dynamic_prompt(insanitylevel) result = createpromptvariant(prompt, insanitylevel) @@ -35,4 +36,6 @@ def generatepromptvariants(amount = 1,prompt="",insanitylevel="5"): print("") print("All done!") -generatepromptvariants(10,"purple (galaxy) in a (bottle:1.2), , background is a lush jungle and a woman wearing a summer dress, -artmovement-", 5) \ No newline at end of file +generatepromptvariants(10 + ,"" #purple (galaxy) in a (bottle:1.2), , background is a lush jungle and a woman wearing a summer dress, -artmovement- + , 5)