diff --git a/build_dynamic_prompt.py b/build_dynamic_prompt.py index 39d789f..2bf7b0f 100644 --- a/build_dynamic_prompt.py +++ b/build_dynamic_prompt.py @@ -139,6 +139,7 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all agecalculatorlist = csv_to_list("agecalculator", antilist) elementlist = csv_to_list("elements", antilist) settinglist = csv_to_list("settings", antilist) + charactertypeslist = csv_to_list("charactertypes", antilist) # additional descriptor lists @@ -167,13 +168,13 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all objecttotallist = objectlist + buildinglist + vehiclelist + foodlist + spacelist + floralist + containerlist outfitprinttotallist = objecttotallist + locationlist + colorlist + musicgenrelist + seasonlist + animallist + patternlist - humanactivitycheatinglist = ["OR(;, -heshe- is;rare) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", - "OR(;, -heshe- is;rare) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", - "OR(;, -heshe- is;rare) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", - "OR(;, -heshe- is;rare) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", - "OR(;, -heshe- is;rare) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", - "OR(;, -heshe- is;rare) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", - "OR(;, -heshe- is;rare) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)"] + humanactivitycheatinglist = ["OR(;, -heshe- is;uncommon) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", + "OR(;, -heshe- is;uncommon) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", + "OR(;, -heshe- is;uncommon) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", + "OR(;, -heshe- is;uncommon) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", + "OR(;, -heshe- is;uncommon) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", + "OR(;, -heshe- is;uncommon) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)", + "OR(;, -heshe- is;uncommon) -miniactivity- OR(in;at) a OR(-location-;-building-;-waterlocation-)"] humanactivitylist = humanactivitylist + humanactivitycheatinglist # build artists list @@ -233,6 +234,7 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all graphicdesignartistlist = artist_category_csv_to_list("artists_and_category","graphic design") digitalartistlist = artist_category_csv_to_list("artists_and_category","digital") architectartistlist = artist_category_csv_to_list("artists_and_category","architecture") + cinemaartistlist = artist_category_csv_to_list("artists_and_category","cinema") gregmodelist = csv_to_list("gregmode", antilist) @@ -1112,12 +1114,11 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all # lower values even more stable # Upper values are still quite random humanoidsubjectchooserlistbackup = humanoidsubjectchooserlist.copy() # make a backup of the list - - if(random.randint(0,6) > max(2,insanitylevel -2) and "manwomanrelation" in humanoidsubjectchooserlist): + if(random.randint(0,9) > max(2,insanitylevel -2) and "manwomanrelation" in humanoidsubjectchooserlist): humanoidsubjectchooserlist.remove("manwomanrelation") if(random.randint(0,5) > max(2,insanitylevel -2) and "manwomanmultiple" in humanoidsubjectchooserlist): humanoidsubjectchooserlist.remove("manwomanmultiple") - if(random.randint(0,6) > max(2,insanitylevel -2) and "firstname" in humanoidsubjectchooserlist): + if(random.randint(0,7) > max(2,insanitylevel -2) and "firstname" in humanoidsubjectchooserlist): humanoidsubjectchooserlist.remove("firstname") if(random.randint(0,5) > max(2,insanitylevel -2) and "job" in humanoidsubjectchooserlist): humanoidsubjectchooserlist.remove("job") @@ -1353,6 +1354,9 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all # start artist part + # Sometimes turn off the artists, cause they can be too many? + if(random.randint(0,6) == 0): + generateartist = False artistsplacement = "front" # remove the artistsatbackchange to be depended on the insanitylevel, we would like this to be a set chance @@ -2555,11 +2559,16 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all if(rare_dist(insanitylevel)): # Use base location descriptor, until we are not. completeprompt = completeprompt.replace("-locationdescriptor-", "-descriptor-") - # human descriptor - if(rare_dist(insanitylevel)): # Use base human descriptor, until we are not. + # animeal descriptor + if(rare_dist(insanitylevel)): # Use base animal descriptor, until we are not. completeprompt = completeprompt.replace("-animaldescriptor-", "-descriptor-") + # sometimes, culture becomes traditional! + if(unique_dist(insanitylevel)): + completeprompt = completeprompt.replace("-culture-", "traditional -culture-") + + # first some manual stuff for outfit if(unique_dist(insanitylevel)): # sometimes, its just nice to have descriptor and a normal "outfit". We use mini outfits for this! @@ -2752,12 +2761,14 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all "-graphicdesignartist-" in completeprompt or "-digitalartist-" in completeprompt or "-architectartist-" in completeprompt or + "-cinemaartist-" in completeprompt or "-element-" in completeprompt or - "-setting-" in completeprompt): + "-setting-" in completeprompt or + "-charactertype-" in completeprompt): allwildcardslistnohybrid = [ "-color-","-object-", "-animal-", "-fictional-","-nonfictional-","-building-","-vehicle-","-location-","-conceptprefix-","-food-","-haircolor-","-hairstyle-","-job-", "-accessory-", "-humanoid-", "-manwoman-", "-human-", "-colorscheme-", "-mood-", "-genderdescription-", "-artmovement-", "-malefemale-", "-bodytype-", "-minilocation-", "-minilocationaddition-", "-pose-", "-season-", "-minioutfit-", "-elaborateoutfit-", "-minivomit-", "-vomit-", "-rpgclass-", "-subjectfromfile-","-subjectfromfile-", "-brand-", "-space-", "-artist-", "-imagetype-", "-othertype-", "-quality-", "-lighting-", "-camera-", "-lens-","-imagetypequality-", "-poemline-", "-songline-", "-greatwork-", "-fantasyartist-", "-popularartist-", "-romanticismartist-", "-photographyartist-", "-emoji-", "-timeperiod-", "-shotsize-", "-musicgenre-", "-animaladdition-", "-addontolocationinside-", "-addontolocation-", "-objectaddition-", "-humanaddition-", "-overalladdition-", "-focus-", "-direction-", "-styletilora-", "-manwomanrelation-", "-waterlocation-", "-container-", "-firstname-", "-flora-", "-print-", "-miniactivity-", "-pattern-", "-animalsuffixaddition-", "-chair-", "-cardname-", "-covering-", "-heshe-", "-hisher-", "-himher-", "-outfitdescriptor-", "-hairdescriptor-", "-hairvomit-", "-humandescriptor-", "-manwomanmultiple-", "-facepart-", "-buildfacepart-", "-outfitvomit-", "-locationdescriptor-", "-basicbitchdescriptor-", "-animaldescriptor-", "-humanexpression-", "-humanvomit-", "-eyecolor-", "-fashiondesigner-", "-colorcombination-", "-materialcombination-", "-oppositefictional-", "-oppositenonfictional-", "-photoaddition-", "-age-", "-agecalculator-", "-gregmode-" - ,"-portraitartist-", "-characterartist-" , "-landscapeartist-", "-scifiartist-", "-graphicdesignartist-", "-digitalartist-", "-architectartist-", "-setting-"] + ,"-portraitartist-", "-characterartist-" , "-landscapeartist-", "-scifiartist-", "-graphicdesignartist-", "-digitalartist-", "-architectartist-", "-cinemaartist-", "-setting-", "-charactertype-"] allwildcardslistnohybridlists = [colorlist, objectlist, animallist, fictionallist, nonfictionallist, buildinglist, vehiclelist, locationlist,conceptprefixlist,foodlist,haircolorlist, hairstylelist,joblist, accessorielist, humanoidlist, manwomanlist, humanlist, colorschemelist, moodlist, genderdescriptionlist, artmovementlist, malefemalelist, bodytypelist, minilocationlist, minilocationadditionslist, poselist, seasonlist, minioutfitlist, elaborateoutfitlist, minivomitlist, vomitlist, rpgclasslist, customsubjectslist, customoutfitslist, brandlist, spacelist, artistlist, imagetypelist, othertypelist, qualitylist, lightinglist, cameralist, lenslist, imagetypequalitylist, poemlinelist, songlinelist, greatworklist, fantasyartistlist, popularartistlist, romanticismartistlist, photographyartistlist, emojilist, timeperiodlist, shotsizelist, musicgenrelist, animaladditionlist, addontolocationinsidelist, addontolocationlist, objectadditionslist, humanadditionlist, overalladditionlist, focuslist, directionlist, stylestiloralist, manwomanrelationlist, waterlocationlist, containerlist, firstnamelist, floralist, printlist, miniactivitylist, patternlist, animalsuffixadditionlist, chairlist, cardnamelist, coveringlist, heshelist, hisherlist, himherlist, outfitdescriptorlist, hairdescriptorlist, hairvomitlist, humandescriptorlist, manwomanmultiplelist, facepartlist, buildfacepartlist, outfitvomitlist, locationdescriptorlist, basicbitchdescriptorlist, animaldescriptorlist, humanexpressionlist, humanvomitlist, eyecolorlist, fashiondesignerlist, colorcombinationlist, materialcombinationlist, oppositefictionallist, oppositenonfictionallist, photoadditionlist, agelist, agecalculatorlist, gregmodelist - , portraitartistlist, characterartistlist, landscapeartistlist, scifiartistlist, graphicdesignartistlist, digitalartistlist, architectartistlist, settinglist] + , portraitartistlist, characterartistlist, landscapeartistlist, scifiartistlist, graphicdesignartistlist, digitalartistlist, architectartistlist, cinemaartistlist, settinglist, charactertypeslist] allwildcardslistwithhybrid = ["-material-", "-descriptor-", "-outfit-", "-conceptsuffix-","-culture-", "-objecttotal-", "-outfitprinttotal-", "-element-"] allwildcardslistwithhybridlists = [materiallist, descriptorlist,outfitlist,conceptsuffixlist,culturelist, objecttotallist, outfitprinttotallist, elementlist] @@ -2922,6 +2933,7 @@ def createpromptvariant(prompt = "", insanitylevel = 5, antivalues = "" , gender agecalculatorlist = csv_to_list("agecalculator", antilist) elementlist = csv_to_list("elements", antilist) settinglist = csv_to_list("settings", antilist) + charactertypelist = csv_to_list("charactertypes", antilist) outfitdescriptorlist = csv_to_list("outfitdescriptors",antilist) hairdescriptorlist = csv_to_list("hairdescriptors",antilist) @@ -2957,6 +2969,7 @@ def createpromptvariant(prompt = "", insanitylevel = 5, antivalues = "" , gender graphicdesignartistlist = artist_category_csv_to_list("artists_and_category","graphic design") digitalartistlist = artist_category_csv_to_list("artists_and_category","digital") architectartistlist = artist_category_csv_to_list("artists_and_category","architecture") + cinemaartistlist = artist_category_csv_to_list("artists_and_category","cinema") gregmodelist = csv_to_list("gregmode", antilist) # add any other custom lists @@ -3124,6 +3137,9 @@ def createpromptvariant(prompt = "", insanitylevel = 5, antivalues = "" , gender if lowercase_combination in [x.lower() for x in settinglist] and chance_roll(insanitylevel, "uncommon"): prompt = prompt.replace(combination," -setting- ") + + if lowercase_combination in [x.lower() for x in charactertypelist] and chance_roll(insanitylevel, "uncommon"): + prompt = prompt.replace(combination," -charactertype- ") #if lowercase_combination in [x.lower() for x in conceptprefixlist] and chance_roll(insanitylevel, "uncommon"): @@ -3283,6 +3299,8 @@ def createpromptvariant(prompt = "", insanitylevel = 5, antivalues = "" , gender prompt = prompt.replace(combination," -graphicdesignartist- ") if lowercase_combination in [x.lower() for x in architectartistlist] and chance_roll(insanitylevel, "uncommon"): prompt = prompt.replace(combination," -architectartist- ") + if lowercase_combination in [x.lower() for x in cinemaartistlist] and chance_roll(insanitylevel, "uncommon"): + prompt = prompt.replace(combination," -cinemaartist- ") if lowercase_combination in [x.lower() for x in stylestiloralist] and chance_roll(insanitylevel, "uncommon"): @@ -3408,13 +3426,15 @@ def createpromptvariant(prompt = "", insanitylevel = 5, antivalues = "" , gender "-graphicdesignartist-" in completeprompt or "-digitalartist-" in completeprompt or "-architectartist-" in completeprompt or + "-cinemaartist-" in completeprompt or "-element-" in completeprompt or - "-setting-" in completeprompt + "-setting-" in completeprompt or + "-charactertype-" in completeprompt ): allwildcardslistnohybrid = [ "-color-","-object-", "-animal-", "-fictional-","-nonfictional-","-building-","-vehicle-","-location-","-conceptprefix-","-food-","-haircolor-","-hairstyle-","-job-", "-accessory-", "-humanoid-", "-manwoman-", "-human-", "-colorscheme-", "-mood-", "-genderdescription-", "-artmovement-", "-malefemale-", "-bodytype-", "-minilocation-", "-minilocationaddition-", "-pose-", "-season-", "-minioutfit-", "-elaborateoutfit-", "-minivomit-", "-vomit-", "-rpgclass-", "-subjectfromfile-", "-subjectfromfile-", "-brand-", "-space-", "-artist-", "-imagetype-", "-othertype-", "-quality-", "-lighting-", "-camera-", "-lens-","-imagetypequality-", "-poemline-", "-songline-", "-greatwork-", "-fantasyartist-", "-popularartist-", "-romanticismartist-", "-photographyartist-", "-emoji-", "-timeperiod-", "-shotsize-", "-musicgenre-", "-animaladdition-", "-objectaddition-", "-humanaddition-", "-overalladdition-", "-focus-", "-direction-", "-styletilora-", "-manwomanrelation-", "-waterlocation-", "-container-", "-firstname-", "-flora-", "-print-", "-miniactivity-", "-pattern-", "-chair-", "-cardname-", "-covering-", "-outfitdescriptor-", "-hairdescriptor-", "-hairvomit-", "-humandescriptor-", "-manwomanmultiple-", "-facepart-", "-locationdescriptor-", "-basicbitchdescriptor-", "-animaldescriptor-", "-humanexpression-", "-humanvomit-", "-eyecolor-", "-fashiondesigner-", "-colorcombination-", "-materialcombination-", "-photoaddition-", "-age-", "agecalculator-", "-gregmode-" - ,"-portraitartist-", "-characterartist-" , "-landscapeartist-", "-scifiartist-", "-graphicdesignartist-", "-digitalartist-", "-architectartist-", "-setting-"] + ,"-portraitartist-", "-characterartist-" , "-landscapeartist-", "-scifiartist-", "-graphicdesignartist-", "-digitalartist-", "-architectartist-", "-cinemaartist-" "-setting-", "-charactertype-"] allwildcardslistnohybridlists = [colorlist, objectlist, animallist, fictionallist, nonfictionallist, buildinglist, vehiclelist, locationlist,conceptprefixlist,foodlist,haircolorlist, hairstylelist,joblist, accessorielist, humanoidlist, manwomanlist, humanlist, colorschemelist, moodlist, genderdescriptionlist, artmovementlist, malefemalelist, bodytypelist, minilocationlist, minilocationadditionslist, poselist, seasonlist, minioutfitlist, elaborateoutfitlist, minivomitlist, vomitlist, rpgclasslist, customsubjectslist, customoutfitslist, brandlist, spacelist, artistlist, imagetypelist, othertypelist, qualitylist, lightinglist, cameralist, lenslist, imagetypequalitylist, poemlinelist, songlinelist, greatworklist, fantasyartistlist, popularartistlist, romanticismartistlist, photographyartistlist, emojilist, timeperiodlist, shotsizelist, musicgenrelist, animaladditionlist, objectadditionslist, humanadditionlist, overalladditionlist, focuslist, directionlist, stylestiloralist, manwomanrelationlist, waterlocationlist, containerlist, firstnamelist, floralist, printlist, miniactivitylist, patternlist, chairlist, cardnamelist, coveringlist, outfitdescriptorlist, hairdescriptorlist, hairvomitlist, humandescriptorlist, manwomanmultiplelist, facepartlist, locationdescriptorlist, basicbitchdescriptorlist, animaldescriptorlist, humanexpressionlist, humanvomitlist, eyecolorlist, fashiondesignerlist, colorcombinationlist, materialcombinationlist, photoadditionlist, agelist, agecalculatorlist, gregmodelist - , portraitartistlist, characterartistlist, landscapeartistlist, scifiartistlist, graphicdesignartistlist, digitalartistlist, architectartistlist, settinglist] + , portraitartistlist, characterartistlist, landscapeartistlist, scifiartistlist, graphicdesignartistlist, digitalartistlist, architectartistlist, cinemaartistlist, settinglist, charactertypelist] allwildcardslistwithhybrid = ["-material-", "-descriptor-", "-outfit-", "-conceptsuffix-","-culture-", "-objecttotal-", "-outfitprinttotal-", "-element-"] allwildcardslistwithhybridlists = [materiallist, descriptorlist,outfitlist,conceptsuffixlist,culturelist, objecttotallist, outfitprinttotallist, elementlist] diff --git a/csvfiles/animals.csv b/csvfiles/animals.csv index 5b342bd..f50b27b 100644 --- a/csvfiles/animals.csv +++ b/csvfiles/animals.csv @@ -167,6 +167,7 @@ Osprey Ostrich Otter Owl +Owlbear Oyster Panda Panther diff --git a/csvfiles/charactertypes.csv b/csvfiles/charactertypes.csv new file mode 100644 index 0000000..619e492 --- /dev/null +++ b/csvfiles/charactertypes.csv @@ -0,0 +1,126 @@ +Tekken game +Dead or Alive game +Street Fighter game +Fortnite game +Overwatch game +Game of Thrones series +Star Wars movie +Star Wars movie Alien +Star Wars movie Droid +Star Trek series +Star Trek series Alien +Lord of the Rings movie +Blade runner movie +D&D +Disney movie +Fighting game +Videogame +Lego minifig +Playmobil +Funko pop +The Sims game +God of War game +Metal Gear game +Gears of War game +Elder Scrolls game +Skyrim game +Oblivion game +World of Warcraft game +Final Fantasy game +Morrowind game +FF14 game +NieR game +Baldur's gate game +Tales of series game +Xenogears game +Diablo game +path of exile game +Nintendo game +Blizzard Entertainment game +Super Mario game +Tibia game +Everquest game +Destiny game +Dark Souls game +Megaman game +Elden ring game +Borderlands game +The Witcher game +The Witcher game sorceress +Assassin's Creed game +Muppet show +Sesame street +HBO Spartacus series +HBO Rome series +Pixel art game +Doom game +Quake game +Half life game +Devil may cry game +Fire Emblem game +Dota game +Fallout game +Warcraft 3 game +Soulcalibur game +Prince of Persia game +Kingdom Hearts game +Persona game +Minecraft game +Tomb Raider game +Castlevania game +Mortal Kombat game +Resident Evil game +Resident Evil game zombie +Grand Theft Auto game +Call of Duty game +Knights of the Old Republic game +pokemon game character gym leader +pokemon game character trainer +Red Dead Redemption game +Sonic game +Starcraft game +Mass Effect game +BioShock game +Horizon zero dawn game +Yakuza game +South Park series +Wind Waker game +Bayonetta game +Unreal Tournament game +Jet Set Radio game +Animal Crossing game +Dragon Quest game +Hearthstone game +The Mandalorian series +Stranger Things series +Family Guy series +Simpsons series +Rick and Morty series +Vikings series +Bob's Burgers series +Buffy the Vampire Slayer series +Altered Carbon series +Matrix movie +Terminator movie +Alien movie +Indiana Jones movie +Marvel movie +DC movie +Pixar movie +Dreamworks movie +Die hard movie +Pan's Labyrinth movie +Jurassic park movie +Kill Bill movie +Spirited Away movie +Spirited away movie spirit +Harry Potter movie +Harry Potter movie student +Harry Potter movie teacher +Harry Potter movie wizard +-cinemaartist- movie +Naruto series ninja +One Piece series pirate +Dragonball series +Barbie doll +Mad Max movie \ No newline at end of file diff --git a/csvfiles/cultures.csv b/csvfiles/cultures.csv index d71e66d..75d9246 100644 --- a/csvfiles/cultures.csv +++ b/csvfiles/cultures.csv @@ -234,4 +234,5 @@ Northern Southern Arcadian Navajo -Spartan \ No newline at end of file +Spartan +all-american \ No newline at end of file diff --git a/csvfiles/fictional characters.csv b/csvfiles/fictional characters.csv index 1234b36..6c06247 100644 --- a/csvfiles/fictional characters.csv +++ b/csvfiles/fictional characters.csv @@ -507,4 +507,5 @@ Kermit the Frog;male Miss Piggy;female Santa;male Stormtrooper;genderless -Anna from Frozen;female \ No newline at end of file +Anna from Frozen;female +-charactertype- character;both \ No newline at end of file diff --git a/csvfiles/human_activities.csv b/csvfiles/human_activities.csv index 3961b75..f0da5c2 100644 --- a/csvfiles/human_activities.csv +++ b/csvfiles/human_activities.csv @@ -1,60 +1,61 @@ -Walking -Running -Jumping -Swimming -Dancing -Frolicking -OR(Painting a painting;Drawing a drawing) -Singing -Writing -Cooking -Reading -Hiking -Camping -Fishing -Hunting -Making photographs -OR(Sculpting;Knitting;Sewing;Quilting;Woodworking;Blacksmithing;Metalworking;Pottery;Glassblowing) -Playing video games -Watching (movies;TV shows;cinema) -Playing OR(board games;card games;chess;poker;trivia games;word games) -Doing puzzles -Collecting OR(stamps;coins;art;antiques) -OR(Playing a musical instrument;Composing music;Producing music;DJing) -Singing in a choir -Playing in a (band;orchestra) -OR(Blogging;Vlogging;Podcasting) -Public speaking -OR(Stand-up;Improvisational) comedy -OR(Acting in;Directing;Producing) a OR(play;movie;TV show) -OR(Teaching;Coaching;Mentoring;Tutoring) -OR(Fundraising;Campaigning for a cause;Activism;Participating in a protest) -OR(Gardening;Landscaping) -Home improvement -Cleaning -OR(Organizing;Planning events;Hosting parties) -Attending OR(concerts;festivals;theater performances;movies;sports events) -OR(Exercising;Going to the gym;Fitnessing) -OR(Yoga;Pilates;Tai chi) -Meditating -OR(Scuba diving;Snorkeling;Kayaking;Canoeing;Rafting;Climbing;Bungee jumping;Skydiving;Paragliding;Hang gliding;Zip lining) -OR(Traveling;Exploring new places) -Playing OR(Tennis;Basketball;Soccer;Football;Golf;Baseball;Hockey;Icehockey;Volleyball;Beach Volleyball;Sports) -OR(Boxing;Wrestling;Doing Martial Arts;Gymnastics;Cycling;Surfing;Skateboarding;Snowboarding;Skiing;Figure Skating;Rowing;Sailing;Cycling;Mountain biking) -Diving -Playing -Horse-back riding --animal--back riding -having a tea party -Lounging -Bathing in a -waterlocation- -drinking coffee in a cafe -studying in a room -doing a fashion show -fighting a War -sieging a Castle -sitting and talking -Walking up a stairs -Walking down a stairs -Walking down a OR(street;-minilocation-) -casting a -element- magic spell \ No newline at end of file +OR(;, -heshe- is;uncommon) Walking +OR(;, -heshe- is;uncommon) Running +OR(;, -heshe- is;uncommon) Jumping +OR(;, -heshe- is;uncommon) Laying down +OR(;, -heshe- is;uncommon) Swimming +OR(;, -heshe- is;uncommon) Dancing +OR(;, -heshe- is;uncommon) Frolicking +OR(;, -heshe- is;uncommon) OR(Painting a painting;Drawing a drawing) +OR(;, -heshe- is;uncommon) Singing +OR(;, -heshe- is;uncommon) Writing +OR(;, -heshe- is;uncommon) Cooking +OR(;, -heshe- is;uncommon) Reading +OR(;, -heshe- is;uncommon) Hiking +OR(;, -heshe- is;uncommon) Camping +OR(;, -heshe- is;uncommon) Fishing +OR(;, -heshe- is;uncommon) Hunting +OR(;, -heshe- is;uncommon) Making photographs +OR(;, -heshe- is;uncommon) OR(Sculpting;Knitting;Sewing;Quilting;Woodworking;Blacksmithing;Metalworking;Pottery;Glassblowing) +OR(;, -heshe- is;uncommon) Playing video games +OR(;, -heshe- is;uncommon) Watching OR(movies;TV shows;cinema) +OR(;, -heshe- is;uncommon) Playing OR(board games;card games;chess;poker;trivia games;word games) +OR(;, -heshe- is;uncommon) Doing puzzles +OR(;, -heshe- is;uncommon) Collecting OR(stamps;coins;art;antiques) +OR(;, -heshe- is;uncommon) OR(Playing a musical instrument;Composing music;Producing music;DJing) +OR(;, -heshe- is;uncommon) Singing in a choir +OR(;, -heshe- is;uncommon) Playing in a OR(band;orchestra) +OR(;, -heshe- is;uncommon) OR(Blogging;Vlogging;Podcasting) +OR(;, -heshe- is;uncommon) Speaking in public +OR(;, -heshe- is doing;uncommon) OR(Stand-up;Improvisational) comedy +OR(;, -heshe- is;uncommon) OR(Acting in;Directing;Producing) a OR(play;movie;TV show) +OR(;, -heshe- is;uncommon) OR(Teaching;Coaching;Mentoring;Tutoring) +OR(;, -heshe- is;uncommon) OR(Fundraising;Campaigning for a cause;Activism;Participating in a protest) +OR(;, -heshe- is;uncommon) OR(Gardening;Landscaping) +OR(;, -heshe- is doing;uncommon) Home improvement +OR(;, -heshe- is;uncommon) Cleaning +OR(;, -heshe- is;uncommon) OR(Organizing;Planning events;Hosting parties) +OR(;, -heshe- is;uncommon) Attending OR(concerts;festivals;theater performances;movies;sports events) +OR(;, -heshe- is;uncommon) OR(Exercising;Going to the gym;Fitnessing) +OR(;, -heshe- is doing;uncommon) OR(Yoga;Pilates;Tai chi) +OR(;, -heshe- is;uncommon) Meditating +OR(;, -heshe- is;uncommon) OR(Scuba diving;Snorkeling;Kayaking;Canoeing;Rafting;Climbing;Bungee jumping;Skydiving;Paragliding;Hang gliding;Zip lining) +OR(;, -heshe- is;uncommon) OR(Traveling;Exploring new places) +OR(;, -heshe- is;uncommon) Playing OR(Tennis;Basketball;Soccer;Football;Golf;Baseball;Hockey;Icehockey;Volleyball;Beach Volleyball;Sports) +OR(;, -heshe- is;uncommon) OR(Boxing;Wrestling;Doing Martial Arts;Gymnastics;Cycling;Surfing;Skateboarding;Snowboarding;Skiing;Figure Skating;Rowing;Sailing;Cycling;Mountain biking) +OR(;, -heshe- is;uncommon) Diving +OR(;, -heshe- is;uncommon) Playing +OR(;, -heshe- is;uncommon) Horse-back riding +OR(;, -heshe- is;uncommon) -animal--back riding +OR(;, -heshe- is;uncommon) having a tea party +OR(;, -heshe- is;uncommon) Lounging +OR(;, -heshe- is;uncommon) Bathing in a -waterlocation- +OR(;, -heshe- is;uncommon) drinking coffee in a cafe +OR(;, -heshe- is;uncommon) studying in a room +OR(;, -heshe- is;uncommon) doing a fashion show +OR(;, -heshe- is;uncommon) fighting a War +OR(;, -heshe- is;uncommon) sieging a Castle +OR(;, -heshe- is;uncommon) sitting and talking +OR(;, -heshe- is;uncommon) Walking up a stairs +OR(;, -heshe- is;uncommon) Walking down a stairs +OR(;, -heshe- is;uncommon) Walking down a OR(street;-minilocation-) +OR(;, -heshe- is;uncommon) casting a -element- magic spell \ No newline at end of file diff --git a/csvfiles/jobs.csv b/csvfiles/jobs.csv index 3339bbc..1695542 100644 --- a/csvfiles/jobs.csv +++ b/csvfiles/jobs.csv @@ -1,3 +1,4 @@ +-charactertype- character;both -element- Mage;both -element- Wizard;male -element- Witch;female diff --git a/csvfiles/settings.csv b/csvfiles/settings.csv index 74b18c0..91d29fd 100644 --- a/csvfiles/settings.csv +++ b/csvfiles/settings.csv @@ -19,4 +19,8 @@ Fairy-Tale Victorian Alien Mundane --culture- \ No newline at end of file +-culture- +World of Warcraft +Final Fantasy +Elder Scrolls +Matrix \ No newline at end of file diff --git a/csvfiles/special_lists/buildoutfit.csv b/csvfiles/special_lists/buildoutfit.csv index 61edd05..fc82c34 100644 --- a/csvfiles/special_lists/buildoutfit.csv +++ b/csvfiles/special_lists/buildoutfit.csv @@ -6,8 +6,8 @@ , wearing OR(-material-;-color-;-element-;uncommon) -overrideoutfit- , OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;-material-;-color-;uncommon) OR(-outfit-;-minioutfit-;rare) with OR(-pattern-;-outfitprinttotal-;-material-;uncommon) -print-, , -heshe- is OR(wearing a;dressed in) OR(;-hisher-;-hisher- -outfitdescriptor-;rare) -outfit-, OR(-hisher-;The;normal) -sameoutfit- is OR(-outfitdescriptor-;-color-) OR( OR(and has;, It has) OR(-pattern-;-outfitprinttotal-;-material-;uncommon) -print- on it,; and is OR(made of;detailed with bits of) -material-;rare) OR(;, It looks OR(;very;rare) -outfitdescriptor- on -himher-,;unique) -, -heshe- is OR(wearing;dressed in) OR(;-hisher-;-hisher- traditional;rare) -culture- -outfit-, OR(; OR(-hisher-;The;normal) -sameoutfit- is OR(-outfitdescriptor-;-color-),;normal) OR(;, It looks OR(;very;rare) -outfitdescriptor- on -himher-,;unique) +, -heshe- is OR(wearing;dressed in) OR(;-hisher-;rare) -culture- -outfit-, OR(; OR(-hisher-;The;normal) -sameoutfit- is OR(-outfitdescriptor-;-color-),;normal) OR(;, It looks OR(;very;rare) -outfitdescriptor- on -himher-,;unique) , -heshe- is OR(wearing a;dressed in a) OR(;-outfitdescriptor-;normal) OR(;-color-;uncommon) OR(;-culture-;uncommon) OR(;-material-;rare) -outfit- that was OR(designed;made;inspired;forged) by -brand-, It is OR(;very;rare) OR(-outfitdescriptor-;-color-;normal) OR(;and OR(-outfitdescriptor-;-color-;normal);normal) OR(;, The -sameoutfit- looks OR(;very;rare) -outfitdescriptor- on -himher-,;unique) , OR(wearing;dressed in;in;normal) OR(;a very;rare) OR(;-outfitdescriptor-;normal) OR(-minioutfit-;-outfit-;uncommon), OR(-hisher-;The;normal) -sameoutfit- -outfitvomit- -, -heshe- is OR(wearing a;dressed in) OR(;-hisher-;-hisher- -outfitdescriptor-;rare) -outfit-, OR(-hisher-;The;normal) -sameoutfit- is tailored by -fashiondesigner- OR(; and -fashiondesigner-;uncommon) +, -heshe- is OR(wearing a;dressed in) OR(;-hisher-;-hisher- -outfitdescriptor-;rare) -outfit-, OR(-hisher-;The;normal) -sameoutfit- OR(is tailored by -fashiondesigner- OR(; and -fashiondesigner-;uncommon);is inspired by the -charactertype- OR(;and -charactertype-;uncommon)) , -heshe- is OR(wearing a;dressed in) OR(;-hisher-;-hisher- -outfitdescriptor-;rare) -artmovement- fashion style -outfit \ No newline at end of file diff --git a/csvfiles/special_lists/humanadditions.csv b/csvfiles/special_lists/humanadditions.csv index 9cab5c9..74e4bd4 100644 --- a/csvfiles/special_lists/humanadditions.csv +++ b/csvfiles/special_lists/humanadditions.csv @@ -14,4 +14,5 @@ OR(;, -heshe- is;rare) sitting in a OR(;-descriptor-;uncommon) -chair- OR(;, -heshe- is;rare) inside a -container- OR(;, -heshe- is;rare) OR(surrounded by;being looked at by) a OR(couple;group) of OR(;-descriptor-;uncommon) OR(people;-malefemale-s;animals) OR(;wearing OR(;-descriptor-;uncommon) -outfit-;rare) OR(;, -heshe- is;rare) from the OR(-age-;the -agecalculator-) -OR(;, -heshe- is;uncommon) in a -setting- setting \ No newline at end of file +OR(;, -heshe- is;uncommon) in a -setting- setting +OR(as a;OR(;, -heshe- is;uncommon) reimagined as a) -charactertype- character \ No newline at end of file diff --git a/csvfiles/special_lists/objectadditions.csv b/csvfiles/special_lists/objectadditions.csv index 5f3e9d1..51f14dc 100644 --- a/csvfiles/special_lists/objectadditions.csv +++ b/csvfiles/special_lists/objectadditions.csv @@ -1,9 +1,9 @@ OR(;, -heshe- is;uncommon) made from OR(-material-;-space-;-flora-) OR(;, -heshe- is;uncommon) OR(detailed;engraved;rare) with OR(-material-;-color-;-outfitdescriptor-;-pattern-) OR(; and -color-; and -outfitdescriptor-;rare) OR(patterns;details) OR(;, -heshe- is;uncommon) OR(smooth;sleek) -OR(;, -heshe- is;uncommon) OR(intricate;ornate;-basicbitchdescriptor-) details +OR(;, -heshe- has;uncommon) OR(intricate;ornate;-basicbitchdescriptor-) details OR(;, -heshe- is;uncommon) OR(designed;made;inspired;forged) by -brand- -OR(;, -heshe- is;uncommon) anthropomorphic OR(;with a face;normal) +OR(;, -heshe- is;uncommon) anthropomorphic OR(;with a face;reimagined as a -charactertype- character;common) OR(;, -heshe- is;uncommon) with OR(-pattern-;-color-;-descriptor-;rare) -print- OR(;, -heshe- is;uncommon) covered in -covering- OR(;, -heshe- is;uncommon) in a -setting- setting \ No newline at end of file diff --git a/csvfiles/special_lists/overalladditions.csv b/csvfiles/special_lists/overalladditions.csv index b7c2e69..4365eae 100644 --- a/csvfiles/special_lists/overalladditions.csv +++ b/csvfiles/special_lists/overalladditions.csv @@ -35,4 +35,5 @@ displayed in a rainbow pattern inside a -container- -flora-, -flora-, -flora-, -flora- covered in -covering- -in a -setting- setting \ No newline at end of file +in a -setting- setting +reimagned as a -charactertype- character \ No newline at end of file diff --git a/prompttester.py b/prompttester.py index 9e2112c..742c098 100644 --- a/prompttester.py +++ b/prompttester.py @@ -39,7 +39,7 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im print(result) break - if(" OR " in result): + if(" OR " in result or ";" in result): print("There is a mistake in a OR statement") print("") print(result) @@ -54,6 +54,9 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im resultnew = resultnew.replace("-up-", " up ") resultnew = resultnew.replace("-in-", " in ") resultnew = resultnew.replace("-au-", " au ") + resultnew = resultnew.replace("-da-", " da ") + resultnew = resultnew.replace("-doo-", " doo ") + resultnew = resultnew.replace("-and-", " and ") matches = re.findall(r'-\w+-', resultnew) # Filter out matches with commas and spaces @@ -66,7 +69,7 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im print(result) break - #if("empire" in result): + #if("game" in result or "movie" in result): # print("TEST THIS") # print("") # print(result) @@ -79,7 +82,7 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im print("") print("All done!") -generateprompts(10000,5 +generateprompts(20000,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"