Skip to content

cassiofb-dev/docker-stable-diffusion-2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Stable Diffusion 2

A fork from dalle-playground using Stable Diffusion 2 for CPU

AboutUsageCreditsLicense

screenshot

About

This repository is a fork from dalle-playground that uses Stable Diffusion 2 in CPU only.

Usage

Run in your terminal docker compose up, wait the install and you can access from your browser Website on http:https://localhost:3000/. On the website put this on backend url http:https://127.0.0.1:8080/. To shutdown the application run docker compose down.

Manual install

python -m venv venv

. venv/bin/activate

pip install -U pip

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu

pip install "jax[cpu]"

pip install diffusers transformers accelerate scipy safetensors

pip install Flask

pip install flask-cors

pip install flask-restful

Credits

Thanks for the open source projects bellow:

License

MIT

Languages

  • JavaScript 79.9%
  • Python 12.1%
  • HTML 6.2%
  • CSS 1.8%