How to Download All Styles and Objects from the Stable Diffusion Concepts Library | AI Images
A quick and dirty way to download all of the textual inversion embeddings for new styles and objects from the Huggingface Stable Diffusion Concepts library, and how to generate variations of a prompt with the new tags.
Stable Diffusion Concepts Library at Huggingface:
https://huggingface.co/sd-concepts-library
Scripts:
https://pastebin.com/78kXfeTF proc.py processing script
https://pastebin.com/vteHZjLb prompt.py prompt variation script
https://pastebin.com/9CfyMyVZ template.txt template format for prompt script
Regex:
^(?!sd-concepts-library/.*$).*
Edit 9/26/2022:
This script will open a text file of copy/paste from the Huggingface page and find/replace with the regex to generate a batch file with git clone [repo-address]. You can skip the Notepad++ steps if you want to use this
https://pastebin.com/nEsrbDPU
Notepad++ Download:
https://notepad-plus-plus.org/
Textual Inversion Training Colab Notebook -
https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_textual_inversion_training.ipynb#scrollTo=60jVYSk0BGC8