Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pieroit/stable-diffusion-jupyterlab-docker
Generate images with Stable Diffusion inside JupyterLab!
https://github.com/pieroit/stable-diffusion-jupyterlab-docker
Last synced: 8 days ago
JSON representation
Generate images with Stable Diffusion inside JupyterLab!
- Host: GitHub
- URL: https://github.com/pieroit/stable-diffusion-jupyterlab-docker
- Owner: pieroit
- License: agpl-3.0
- Created: 2022-08-25T16:08:45.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-08T16:42:55.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T19:33:10.134Z (3 months ago)
- Language: Jupyter Notebook
- Size: 16.6 MB
- Stars: 140
- Watchers: 8
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-stable-diffusion - stable-diffusion-jupyterlab-docker - A Docker setup ready to go with Jupyter notebooks for Stable Diffusion. (Actively Maintained Forks and Containers)
README
# 🐔 Stable Diffusion JupyterLab Docker
Generate images with Stable Diffusion inside JupyterLab!
- start with one command
- GPU ready
- Notebooks included for:
- text2image
- image2image
- inpainting
- (coming soon) outpainting## Prerequisites
- [Docker](https://docs.docker.com/get-docker/)
- [Docker compose](https://docs.docker.com/compose/install/)
- [Nvidia-docker](https://github.com/NVIDIA/nvidia-docker)
- Log into Huggin Face and accept [Stable Diffusion License](https://huggingface.co/runwayml/stable-diffusion-v1-5)
- Generate a [Hugging Face token](https://huggingface.co/settings/tokens)## How to run
- Fire up a terminal and clone this repo```
git clone https://github.com/pieroit/stable-diffusion-jupyterlab-docker.git
```
- Jump into the folder```
cd stable-diffusion-jupyterlab-docker
```
- Run container```
docker-compose up
```- The first time (only) it will take a while. At the end you should see a link in the terminal, click on it and JupyterLab should open in the browser.
- Run the first notebook to download SD and save it on disk
- Use the second notebook to load SD from disk and use it. Enjoy!!!- To stop the workstation, CTRL+c in the terminal and then
```
docker-compose down
```