A simple Gradio-based interface for stable-diffusion.cpp.
This program acts primarily as a command generator for stable-diffusion.cpp, with some extra features.
Important
[2024 Sep 3] A significant refactoring has recently taken place. If you encounter issues, try deleting the old config.json
file. A new one will be generated on the next launch.
- Minimal python dependencies (Gradio is the main one, no PyTorch required)
- Supports all stable-diffusion.cpp features
- Built-in image gallery
- Metadata reader
- Git
- Python
- Clone the repository:
git clone https://github.com/daniandtheweb/sd.cpp-webui.git
- Clone
stable-diffusion.cpp
:
git clone https://github.com/leejet/stable-diffusion.cpp.git
- Follow the instructions in stable-diffusion.cpp`s folder to build the project.
- Copy the built file (
sd
orsd.exe
) from thebuild/bin
directory to thesd.cpp-webui
folder. - On Linux/macOS, ensure the copied file is executable.
- Run the launch script:
sdpp_webui.sh
for Linux/macOSsdcpp_webui_windows.bat
for Windows
For more information on available launch arguments, run the script with -h
or --help
.
- stable-diffusion.cpp - https://github.com/leejet/stable-diffusion.cpp
- Gradio - https://github.com/gradio-app/gradio