Some test codes do not need to be executed every time
parent
4dc3ceba09
commit
3e2e63028c
|
|
@ -242,5 +242,5 @@ def sort_and_dedupe_csv_file():
|
|||
# write each item on a new line
|
||||
fp.write("%s\n" % item)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sort_and_dedupe_csv_file()
|
||||
|
|
@ -33,4 +33,5 @@ def generateprompts(amount = 1,positive_prompt = "",amountofwords="3"):
|
|||
print("")
|
||||
print("All done!")
|
||||
|
||||
if __name__ == "__main__":
|
||||
generateprompts(10,"",5)
|
||||
|
|
@ -32,4 +32,5 @@ def generateprompts(amount = 1,positive_prompt = "",insanitylevel="0",enhance=Fa
|
|||
print("")
|
||||
print("All done!")
|
||||
|
||||
if __name__ == "__main__":
|
||||
generateprompts(1,"photo, photograph, realism",0,False,"", base_model="Stable Cascade")
|
||||
|
|
@ -94,6 +94,7 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im
|
|||
print("")
|
||||
print("All done!")
|
||||
|
||||
if __name__ == "__main__":
|
||||
generateprompts(10,5
|
||||
,"all" # subject
|
||||
,"all" # artists
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ def generatepromptvariants(amount = 1,prompt="",insanitylevel="5"):
|
|||
print("")
|
||||
print("All done!")
|
||||
|
||||
if __name__ == "__main__":
|
||||
generatepromptvariants(10
|
||||
,"a cute woman" #purple (galaxy) in a (bottle:1.2), <bla:1>, background is a lush jungle and a woman wearing a summer dress, -artmovement-
|
||||
, 1)
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ import os
|
|||
|
||||
# takes all images with prompt info in their PNG, from the upscale directory, and upscales them
|
||||
|
||||
if __name__ == "__main__":
|
||||
directory = 'C:\\automated_output\\Upscale me\\'
|
||||
|
||||
for filename in os.listdir(directory):
|
||||
|
|
|
|||
Loading…
Reference in New Issue