From 759bbedc92f5601bcbe1f137e753fe110b2bc757 Mon Sep 17 00:00:00 2001 From: Christopher Williams Date: Sat, 1 Oct 2022 10:45:15 -0400 Subject: [PATCH] still not perfect --- install_sdco.sh | 2 ++ run_sdco.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/install_sdco.sh b/install_sdco.sh index 950b1fa..b9bad1e 100755 --- a/install_sdco.sh +++ b/install_sdco.sh @@ -6,6 +6,8 @@ mkdir -p models/ldm/stable-diffusion-v1/ mkdir -p outputs/extras-samples mkdir -p outputs/img2img-samples/samples mkdir -p outputs/txt2img-samples/samples +cp sd-v1-4.ckpt models/ldm/stable-diffusion-v1/model.ckpt +rm sd-v1-4.ckpt conda install pytorch torchvision torchaudio cpuonly -c pytorch conda env create -f environment-cpuonly.yaml diff --git a/run_sdco.sh b/run_sdco.sh index 387d08a..4ef8261 100755 --- a/run_sdco.sh +++ b/run_sdco.sh @@ -1,3 +1,3 @@ #!/bin/bash conda activate sdco -python ./home/$USER/stable-diffusion-cpuonly-main/webui.py --no-half +python ./webui.py --no-half