From 45c182ae72ad92da047b64f479eb5c5e3776cf39 Mon Sep 17 00:00:00 2001 From: AIrjen Date: Sun, 9 Jul 2023 16:02:01 +0200 Subject: [PATCH] fix for chanceroll typo --- build_dynamic_prompt.py | 2 +- prompttester.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build_dynamic_prompt.py b/build_dynamic_prompt.py index 57d54cc..ae2bdf8 100644 --- a/build_dynamic_prompt.py +++ b/build_dynamic_prompt.py @@ -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- " diff --git a/prompttester.py b/prompttester.py index c1ae999..b063a0a 100644 --- a/prompttester.py +++ b/prompttester.py @@ -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") \ No newline at end of file +generateprompts(100,5,"all","all","all",False,"","","PREFIXPROMPT" ,"SUFFIXPROMPT","",1,"","",True,"",100, "all", "all", "all", "all") \ No newline at end of file