From bf6b2a91e2363a3688b3140f3798827449537d49 Mon Sep 17 00:00:00 2001 From: Christopher Williams Date: Sat, 1 Oct 2022 10:04:56 -0400 Subject: [PATCH] editing scripts and readme --- README.md | 2 ++ run_sdco.sh | 3 +-- stop_sdco.sh | 3 +++ uninstall_sdco.sh | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 stop_sdco.sh diff --git a/README.md b/README.md index 633cf2f..411b9e6 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,9 @@ download the .exe and I copied it to my C:/Windows/System directory (this isn't sudo apt-get -y install git wget +## Installation of Stable-Diffusion-Cpuonly +Copy this github repository and extract to you home/$user directory, the install and run bash scripts are set to run from that location with the *-main at the end like you've just downloaded the zipped up file. diff --git a/run_sdco.sh b/run_sdco.sh index 7134126..81bd911 100644 --- a/run_sdco.sh +++ b/run_sdco.sh @@ -1,4 +1,3 @@ #!/bin/bash -cd Home/$USER/stable-diffusion-cpuonly-main/ conda activate sdco -python ./webui.py --no-half +python ./Home/$USER/stable-diffusion-cpuonly-main/webui.py --no-half diff --git a/stop_sdco.sh b/stop_sdco.sh new file mode 100644 index 0000000..c1dfdbd --- /dev/null +++ b/stop_sdco.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +conda deactivate diff --git a/uninstall_sdco.sh b/uninstall_sdco.sh index cf80d2b..9e8be00 100644 --- a/uninstall_sdco.sh +++ b/uninstall_sdco.sh @@ -1,4 +1,4 @@ #!/bin/bash -conda env remove sdco +conda env remove -n sdco