title | emoji | colorFrom | colorTo | sdk | app_port | pinned | tags | models | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Stable Diffusion WebUI ControlNet |
๐ฆ |
pink |
yellow |
docker |
7860 |
true |
|
|
Private image builds with both with Stable Diffusion 2.1 models and Stable Diffusion 1.5 models and bundles several popular extensions to AUTOMATIC1111's WebUI, including the ControlNet WebUI extension. ControlNet models primarily works best with the SD 1.5 models at the time of writing.
Shared UI space would usually load with a model based on Stable Diffusion 1.5.
๐ณ ๐ฆ Builds a Docker image to be run as a Space at Hugging Face using A10G or T4 hardware.
- Duplicate this space to your Hugging Face account or clone this repo to your account.
- Under the "Settings" tab of your space you can choose which hardware for your space, that you will also be billed for.
- The
on_start.sh
file will be run when the container is started, right before the WebUI is initiated. This is where you can install any additional extensions or models you may need. Make sure the env valueIS_SHARED_UI
is set to0
or is unset for your space, or else only the lightweight model installation will run and some features will be disabled.
This repo, containing the Dockerfile
, etc. for building the image can originally be found on both ๐ค Hugging Face โ carloscar/stable-diffusion-webui-controlnet-docker
and ๐ GitHub โ kalaspuff/stable-diffusion-webui-controlnet-docker
.
- Source Code: https://github.com/AUTOMATIC1111/stable-diffusion-webui
- Documentation: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki
- Source Code: https://github.com/Mikubill/sd-webui-controlnet
- Trained models: https://github.com/lllyasviel/ControlNet
- Pre-extracted models: https://huggingface.co/webui/ControlNet-modules-safetensors/tree/main
- https://huggingface.co/stabilityai/stable-diffusion-2/blob/main/LICENSE-MODEL
- https://huggingface.co/spaces/CompVis/stable-diffusion-license
- https://github.com/lllyasviel/ControlNet/blob/main/LICENSE
Enable the models you want to use on the bottom of the on_start.sh
file. This is also the place to add any additional models you may want to install when starting your space.
## Checkpoint ยท Example:
download-model --checkpoint "FILENAME" "URL"
## LORA (low-rank adaptation) ยท Example:
download-model --lora "FILENAME" "URL"
## VAE (variational autoencoder) ยท Example:
download-model --vae "FILENAME" "URL"
Some models such as additional checkpoints, VAE, LoRA, etc. may already be present in the on_start.sh
file. You can enable them by removing the #
in front of their respective line or disable them by removing the line or adding a leading #
before download-model
.
- Checkpoint ยท Dreamlike Diffusion 1.0 (license)
- Checkpoint ยท Dreamshaper 3.31
- Checkpoint ยท The Ally's Mix III: Revolutions
- Checkpoint ยท Deliberate v2
- Checkpoint ยท dalcefo_painting
- Checkpoint ยท RPG v4
- Checkpoint ยท A to Zovya RPG Artist's Tools (1.5 & 2.1)
- LoRA ยท epi_noiseoffset v2
- VAE ยท sd-vae-ft-mse-original
- Embedding ยท bad_prompt_version2
- See https://huggingface.co/models?filter=stable-diffusion and https://civitai.com/ for more.
Visit the individual model pages for more information on the models and their licenses.
- GitHub โ deforum-art/deforum-for-automatic1111-webui
- GitHub โ yfszzx/stable-diffusion-webui-images-browser
- GitHub โ Vetchems/sd-civitai-browser
- GitHub โ kohya-ss/sd-webui-additional-networks
- GitHub โ Mikubill/sd-webui-controlnet
A lot of inspiration for this Docker build comes from GitHub โ camenduru. Amazing things! ๐