carloscar's picture
tags
cd35a01 verified
|
raw
history blame
No virus
4.73 kB
metadata
title: Stable Diffusion WebUI + ControlNet
emoji: 馃
colorFrom: pink
colorTo: yellow
sdk: docker
app_port: 7860
pinned: true
tags:
  - stable-diffusion
  - stable-diffusion-diffusers
  - text-to-image
models:
  - stabilityai/stable-diffusion-2-1
  - runwayml/stable-diffusion-v1-5
  - lllyasviel/ControlNet
  - webui/ControlNet-modules-safetensors
  - dreamlike-art/dreamlike-diffusion-1.0
  - Anashel/rpg
  - Lykon/DreamShaper

Stable Diffusion WebUI + ControlNet

Comes both with Stable Diffusion 2.1 models and Stable Diffusion 1.5 models. Comes with 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.

馃惓 馃 Builds a Docker image to be run as a Hugging Face Space using A10G or T4 hardware.

Setup on Hugging Face

  1. Duplicate this space to your Hugging Face account or clone this repo to your account.
  2. Under the "Settings" tab of your space you can choose which hardware for your space, that you will also be billed for.
  3. 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.

Relevant links for more information

Stable Diffusion Web UI

WebUI extension for ControlNet

ControlNet models

Licenses for using Stable Diffusion models and ControlNet models

Enable additional models (checkpoints, LoRA, VAE, etc.)

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 examples of additional (optional) models

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.

Visit the individual model pages for more information on the models and their licenses.