From 9e2dd72841d879989a28561a59d2a0e76050da4e Mon Sep 17 00:00:00 2001 From: AIrjen Date: Fri, 22 Mar 2024 18:51:53 +0100 Subject: [PATCH] small fix --- artifytester.py | 3 ++- csv_reader.py | 2 +- prompttester.py | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/artifytester.py b/artifytester.py index f64ab1c..291b2be 100644 --- a/artifytester.py +++ b/artifytester.py @@ -34,4 +34,5 @@ def generateprompts(amount = 1,prompt = "",artists="all",amountofartists = "1", print("") print("All done!") -generateprompts(10,"a norwegian forest cat", "all","random", "standard") \ No newline at end of file +if __name__ == "__main__": + generateprompts(10,"a norwegian forest cat", "all","random", "standard") \ No newline at end of file diff --git a/csv_reader.py b/csv_reader.py index 66ee8d7..17178d0 100644 --- a/csv_reader.py +++ b/csv_reader.py @@ -256,5 +256,5 @@ def sort_and_dedupe_csv_file(): # write each item on a new line fp.write("%s\n" % item) - +# #sort_and_dedupe_csv_file() \ No newline at end of file diff --git a/prompttester.py b/prompttester.py index f9a0de0..10671a3 100644 --- a/prompttester.py +++ b/prompttester.py @@ -95,9 +95,9 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im print("All done!") generateprompts(10,5 - ,"concept" # subject - ,"none" # artists - ,"dynamic templates mode" # 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", "dynamic templates mode", "artify mode" + ,"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", "dynamic templates mode", "artify mode" , False # only artists ,"","","PREFIXPROMPT" ,"SUFFIXPROMPT"