Spaces:
Runtime error
Runtime error
markdown fixes
Browse files
README.md
CHANGED
@@ -8,46 +8,49 @@ app_port: 7860
|
|
8 |
pinned: true
|
9 |
---
|
10 |
|
11 |
-
|
12 |
|
13 |
Uses Stable Diffusion 2.1 models. Comes with several popular extensions to [AUTOMATIC1111's WebUI]([https://github.com/AUTOMATIC1111/stable-diffusion-webui]), including the [ControlNet WebUI extension](https://github.com/Mikubill/sd-webui-controlnet).
|
14 |
|
15 |
🐳 🤗 Builds a Docker image to be run as a [Hugging Face Space](https://huggingface.co/) using A10G or T4 hardware.
|
16 |
|
17 |
-
|
18 |
|
19 |
1. Duplicate this space to your Hugging Face account or clone this repo to your account.
|
20 |
-
|
|
|
21 |
|
22 |
```Dockerfile
|
23 |
# GPU should be set to either "A10G" or "T4"
|
24 |
ARG GPU=A10G
|
25 |
```
|
|
|
26 |
3. Under the *"Settings"* tab of your space you can choose which hardware for your space, that you will also be billed for.
|
27 |
|
28 |
-
|
29 |
|
30 |
-
###
|
|
|
|
|
31 |
|
32 |
* GitHub: [https://github.com/AUTOMATIC1111/stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
|
33 |
* Documentation: [https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki)
|
34 |
|
35 |
-
|
36 |
|
37 |
* GitHub: [https://github.com/Mikubill/sd-webui-controlnet](https://github.com/Mikubill/sd-webui-controlnet)
|
38 |
|
39 |
-
|
40 |
|
41 |
* Trained models: [https://github.com/lllyasviel/ControlNet](https://github.com/lllyasviel/ControlNet)
|
42 |
* Pre-extracted models: [https://huggingface.co/webui/ControlNet-modules-safetensors/tree/main](https://huggingface.co/webui/ControlNet-modules-safetensors/tree/main)
|
43 |
|
44 |
-
|
45 |
|
46 |
-
* https://huggingface.co/stabilityai/stable-diffusion-2/blob/main/LICENSE-MODEL
|
47 |
-
* https://huggingface.co/spaces/CompVis/stable-diffusion-license
|
48 |
-
* https://github.com/lllyasviel/ControlNet/blob/main/LICENSE
|
49 |
|
50 |
-
|
51 |
|
52 |
* [Dreamlike Diffusion 1.0](https://huggingface.co/dreamlike-art/dreamlike-diffusion-1.0) ([license](https://huggingface.co/dreamlike-art/dreamlike-diffusion-1.0/blob/main/LICENSE.md))
|
53 |
-
|
|
|
8 |
pinned: true
|
9 |
---
|
10 |
|
11 |
+
## Stable Diffusion WebUI + ControlNet
|
12 |
|
13 |
Uses Stable Diffusion 2.1 models. Comes with several popular extensions to [AUTOMATIC1111's WebUI]([https://github.com/AUTOMATIC1111/stable-diffusion-webui]), including the [ControlNet WebUI extension](https://github.com/Mikubill/sd-webui-controlnet).
|
14 |
|
15 |
🐳 🤗 Builds a Docker image to be run as a [Hugging Face Space](https://huggingface.co/) using A10G or T4 hardware.
|
16 |
|
17 |
+
### Setup on Hugging Face
|
18 |
|
19 |
1. Duplicate this space to your Hugging Face account or clone this repo to your account.
|
20 |
+
|
21 |
+
2. Within your duplicated space under *"Files and versions"*, specify the GPU model in the first lines of the [`Dockerfile`](./Dockerfile#L2) to match the hardware you're going to be using for your space.
|
22 |
|
23 |
```Dockerfile
|
24 |
# GPU should be set to either "A10G" or "T4"
|
25 |
ARG GPU=A10G
|
26 |
```
|
27 |
+
|
28 |
3. Under the *"Settings"* tab of your space you can choose which hardware for your space, that you will also be billed for.
|
29 |
|
30 |
+
---
|
31 |
|
32 |
+
### Relevant links for more information
|
33 |
+
|
34 |
+
#### Stable Diffusion Web UI
|
35 |
|
36 |
* GitHub: [https://github.com/AUTOMATIC1111/stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
|
37 |
* Documentation: [https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki)
|
38 |
|
39 |
+
#### WebUI extension for ControlNet
|
40 |
|
41 |
* GitHub: [https://github.com/Mikubill/sd-webui-controlnet](https://github.com/Mikubill/sd-webui-controlnet)
|
42 |
|
43 |
+
#### ControlNet models
|
44 |
|
45 |
* Trained models: [https://github.com/lllyasviel/ControlNet](https://github.com/lllyasviel/ControlNet)
|
46 |
* Pre-extracted models: [https://huggingface.co/webui/ControlNet-modules-safetensors/tree/main](https://huggingface.co/webui/ControlNet-modules-safetensors/tree/main)
|
47 |
|
48 |
+
#### Stable Diffusion Models License + ControlNet Models License
|
49 |
|
50 |
+
* [https://huggingface.co/stabilityai/stable-diffusion-2/blob/main/LICENSE-MODEL](https://huggingface.co/stabilityai/stable-diffusion-2/blob/main/LICENSE-MODEL)
|
51 |
+
* [https://huggingface.co/spaces/CompVis/stable-diffusion-license](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|
52 |
+
* [https://github.com/lllyasviel/ControlNet/blob/main/LICENSE](https://github.com/lllyasviel/ControlNet/blob/main/LICENSE)
|
53 |
|
54 |
+
#### Additional (optional) models
|
55 |
|
56 |
* [Dreamlike Diffusion 1.0](https://huggingface.co/dreamlike-art/dreamlike-diffusion-1.0) ([license](https://huggingface.co/dreamlike-art/dreamlike-diffusion-1.0/blob/main/LICENSE.md))
|
|