fix for chanceroll typo

This commit is contained in:
AIrjen
2023-07-09 16:02:01 +02:00
parent b5fff50cba
commit 45c182ae72
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1412,7 +1412,7 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
hybridorswap = ""
# shots from inside can create cool effects in landscapes
if(chanceroll(insanitylevel, subjectlandscapeaddonlocationchance)):
if(chance_roll(insanitylevel, subjectlandscapeaddonlocationchance)):
insideshot = 1
completeprompt += " from inside of a -addontolocationinside- "
+1 -1
View File
@@ -46,4 +46,4 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im
print("")
print("All done!")
generateprompts(10,5,"humanoid","all","all",False,"","","PREFIXPROMPT" ,"SUFFIXPROMPT","",1,"","",True,"",100, "female", "all", "all", "all")
generateprompts(100,5,"all","all","all",False,"","","PREFIXPROMPT" ,"SUFFIXPROMPT","",1,"","",True,"",100, "all", "all", "all", "all")