Stable Diffusion web UI https://github.com/AUTOMATIC1111/stable-diffusion-webui
天问 56311eb65d Update 'README.md' | 2 years ago | |
---|---|---|
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago |
A browser interface based on Gradio library for Stable Diffusion.
Check the custom scripts wiki page for extra scripts developed by users.
https://github.com/sd-webui/stable-diffusion-webui
https://github.com/AUTOMATIC1111/stable-diffusion-webui
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git.
下载模型文件(.ckpt): https://huggingface.co/CompVis/stable-diffusion-v-1-4-original 移动到 models/Stable-diffusion
Make sure the required dependencies are met and follow the instructions available for both NVidia (recommended) and AMD GPUs.
Alternatively, use Google Colab:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
.model.ckpt
in the models
directory (see dependencies for where to get it).GFPGANv1.4.pth
in the base directory, alongside webui.py
(see dependencies for where to get it).webui-user.bat
from Windows Explorer as normal, non-administrator, user.Install the dependencies:
# Debian-based:
sudo apt install wget git python3 python3-venv
# Red Hat-based:
sudo dnf install wget git python3
# Arch-based:
sudo pacman -S wget git python3
To install in /home/$(whoami)/stable-diffusion-webui/
, run:
bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh)
Find the instructions here.
Here's how to add code to this repo: Contributing
The documentation was moved from this README over to the project's wiki.