imaginAIry/tests
Bryce Drennan 31c2160e21
feature: prompt expansion (#51)
You can use `{}` to randomly pull values from lists.  A list of values separated by `|` and enclosed in `{ }` will be randomly drawn from in a non-repeating fashion. Values that are surrounded by `_ _` will pull from a phrase list of the same name.   Folders containing .txt phraselist files may be specified via
`--prompt_library_path`. The option may be specified multiple times.  Built-in categories:

      3d-term, adj-architecture, adj-beauty, adj-detailed, adj-emotion, adj-general, adj-horror, animal, art-movement,
      art-site, artist, artist-botanical, artist-surreal, aspect-ratio, bird, body-of-water, body-pose, camera-brand,
      camera-model, color, cosmic-galaxy, cosmic-nebula, cosmic-star, cosmic-term, dinosaur, eyecolor, f-stop,
      fantasy-creature, fantasy-setting, fish, flower, focal-length, food, fruit, games, gen-modifier, hair, hd,
      iso-stop, landscape-type, national-park, nationality, neg-weight, noun-beauty, noun-fantasy, noun-general,
      noun-horror, occupation, photo-term, pop-culture, pop-location, punk-style, quantity, rpg-item, scenario-desc,
      skin-color, spaceship, style, tree-species, trippy, world-heritage-site

   Examples:

   `imagine "a {red|black} dog" -r 2 --seed 0` will generate both "a red dog" and "a black dog"

   `imagine "a {_color_} dog" -r 4 --seed 0` will generate four, different colored dogs. The colors will eb pulled from an included
   phraselist of colors.

   `imagine "a {_spaceship_|_fruit_|hot air balloon}. low-poly" -r 4 --seed 0` will generate images of spaceships or fruits or a hot air balloon

   Credit to [noodle-soup-prompts](https://github.com/WASasquatch/noodle-soup-prompts/) where most, but not all, of the wordlists originate.
2022-10-08 18:34:35 -07:00
..
data fix: inpainting producing blurry images 2022-09-27 17:19:25 -07:00
enhancers feature: prompt expansion (#51) 2022-10-08 18:34:35 -07:00
__init__.py fix: inpainting producing blurry images 2022-09-27 17:19:25 -07:00
conftest.py refactor: begin to standardize samplers 2022-10-07 00:02:26 -05:00
Dockerfile tests: add docker image for testing environment. minor test improvements 2022-09-21 22:38:44 -07:00
test_api.py feature: better masking segmentation from clipseg 2022-09-27 23:35:06 -07:00
test_clip_embedder.py tests: add docker image for testing environment. minor test improvements 2022-09-21 22:38:44 -07:00
test_cmds.py fix: inpainting producing blurry images 2022-09-27 17:19:25 -07:00
test_enhancers.py feature: better masking segmentation from clipseg 2022-09-27 23:35:06 -07:00
test_experiments.py refactor: begin to standardize samplers 2022-10-07 00:02:26 -05:00
test_guidance.py tests: add more tests 2022-09-17 15:49:38 -07:00
test_safety.py ci: add automated testing/linting 2022-09-24 23:31:03 -07:00
test_schema.py feature: urls as init images 2022-09-15 23:06:59 -07:00
test_utils.py refactor: begin to standardize samplers 2022-10-07 00:02:26 -05:00