minor fix

This commit is contained in:
AIrjen
2023-10-21 09:04:27 +02:00
parent dda1abebb9
commit ec216b4390
3 changed files with 7 additions and 3 deletions
+1
View File
@@ -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
1 Walking
57 Walking up a stairs
58 Walking down a stairs
59 Walking down a OR(street;-minilocation-)
60 casting a -element- magic spell
+1 -1
View File
@@ -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"
+5 -2
View File
@@ -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), <bla:1>, background is a lush jungle and a woman wearing a summer dress, -artmovement-", 5)
generatepromptvariants(10
,"" #purple (galaxy) in a (bottle:1.2), <bla:1>, background is a lush jungle and a woman wearing a summer dress, -artmovement-
, 5)