Go to file
Jimmy 8d2de36a4a Initial program 2022-10-29 16:15:16 +13:00
.gitignore Ignore .env and imges 2022-10-29 16:12:14 +13:00
Dockerfile Add Docker setup 2022-10-29 16:12:45 +13:00
LICENSE Initial commit 2022-10-29 02:30:59 +00:00
README.md Add install and run instructions 2022-10-29 16:15:03 +13:00
docker-compose.yaml Add Docker setup 2022-10-29 16:12:45 +13:00
main.py Initial program 2022-10-29 16:15:16 +13:00

README.md

Stable Diffusion Example

Install Docker

curl https://get.docker.com | sh

distribution=$(. /etc/os-release;echo $ID$VERSION_ID) 
&& curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - 
&& curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

sudo apt-get update
sudo apt-get install -y nvidia-docker2 docker-compose

Run

sudo docker-compose up --build