nicholas-dinicola / stable-diffusion-jupyterlab-docker

Generate images with Stable Diffusion inside JupyterLab!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐔 Stable Diffusion JupyterLab Docker

Generate images with Stable Diffusion inside JupyterLab!

  • start with one command
  • GPU ready
  • Notebooks included for:
    • text2image
    • image2image
    • (coming soon) inpainting

Prerequisites

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
    

About

Generate images with Stable Diffusion inside JupyterLab!

License:GNU Affero General Public License v3.0


Languages

Language:Jupyter Notebook 99.9%Language:Python 0.1%Language:Dockerfile 0.0%