InvokeAI/ldm/invoke
Lincoln Stein bc18a94d8c add ability to retrieve current list of embedding trigger strings
This PR adds a new attributer to ldm.generate, `embedding_trigger_strings`:

```
gen = Generate(...)
strings = gen.embedding_trigger_strings
strings = gen.embedding_trigger_strings()
```

The trigger strings will change when the model is updated to show only
those strings which are compatible with the current
model. Dynamically-downloaded triggers from the HF Concepts Library
will only show up after they are used for the first time. However, the
full list of concepts available for download can be retrieved
programatically like this:

```
from ldm.invoke.concepts_lib import HuggingFAceConceptsLibrary
concepts = HuggingFaceConceptsLibrary()
trigger_strings = concepts.list_concepts()
```
2023-02-13 14:11:36 -05:00
..
ckpt_generator further improvements to ability to find location of data files 2023-01-31 12:24:55 -05:00
config adding support for ESRGAN denoising strength, which allows for improved detail retention when upscaling photorelistic faces 2023-02-08 22:36:35 -06:00
generator Strategize slicing based on free [V]RAM (#2572) 2023-02-12 18:24:15 +00:00
restoration Change denoise_str to an arg instead of a class variable 2023-02-09 20:16:23 +13:00
training ask user to make window larger if not enough space for textual inversion/merge gui 2023-02-12 17:38:46 -05:00
__init__.py use 🧨diffusers model (#1583) 2023-01-15 09:22:46 -05:00
_version.py bump version number; update contributors 2023-02-09 13:01:08 -05:00
args.py add ability to retrieve current list of embedding trigger strings 2023-02-13 14:11:36 -05:00
ckpt_to_diffuser.py remove debugging statement 2023-02-06 09:45:21 -05:00
CLI.py add ability to retrieve current list of embedding trigger strings 2023-02-13 14:11:36 -05:00
concepts_lib.py improve embed trigger token not found error 2023-01-19 15:46:58 -05:00
conditioning.py Beautify Token Log Outputs 2023-02-05 22:55:29 +13:00
devices.py Various fixes 2023-01-30 18:42:17 -05:00
globals.py Load legacy ckpt files as diffusers models (#2468) 2023-02-02 20:15:44 +00:00
image_util.py Global replace [ \t]+$, add "GB" (#1751) 2022-12-19 16:36:39 +00:00
log.py rename all modules from ldm.dream to ldm.invoke 2022-10-08 11:37:23 -04:00
merge_diffusers.py ask user to make window larger if not enough space for textual inversion/merge gui 2023-02-12 17:38:46 -05:00
model_manager.py enhance model_manager support for converting inpainting ckpt files 2023-02-06 09:35:23 -05:00
patchmatch.py defer patchmatch loading (#2039) 2022-12-20 15:32:35 -08:00
pngwriter.py correct bug when trying to enhance JPG images (#1928) 2022-12-11 13:48:47 -05:00
prompt_parser.py Merge branch 'main' into dev/installer 2023-02-01 17:50:22 -05:00
readline.py add ability to retrieve current list of embedding trigger strings 2023-02-13 14:11:36 -05:00
seamless.py use 🧨diffusers model (#1583) 2023-01-15 09:22:46 -05:00
server_legacy.py Global replace [ \t]+$, add "GB" (#1751) 2022-12-19 16:36:39 +00:00
server.py Global replace [ \t]+$, add "GB" (#1751) 2022-12-19 16:36:39 +00:00
txt2mask.py remove dead code 2023-02-03 17:35:35 -05:00