From efc8ed13e11d3a51f953c08c74a677a55594db4f Mon Sep 17 00:00:00 2001 From: orionaskatu <100234619+orionaskatu@users.noreply.github.com> Date: Tue, 13 Sep 2022 15:28:04 +0200 Subject: install/launch scripts for linux --- README.md | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index ba2698d3..1eeaae27 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,36 @@ RealESRGAN into the directory with ESRGAN models. Thank you. - _*(optional)*_ place `GFPGANv1.3.pth` into webui directory, next to `webui.bat`. - run `webui-user.bat` from Windows Explorer. Run it as a normal user, ***not*** as administrator. +### Linux Automatic installation/launch + +Prequisites: +- For Debian-based: +```commandline +sudo apt install wget git python3 python3-venv +``` +- For Red Hat-based: +```commandline +sudo dnf install wget git python3 +``` + + +- If you want to install to default directory `/home/$(whoami)/stable-diffusion-webui/`, you can launch directly: +```commandline +bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh) +``` + + +- If you want to customize the installation just `git clone` the repo where you want it, +change the variables in `webui-user.sh` and launch in console `bash webui.sh`. + + + +- place `model.ckpt` into webui directory, next to `webui.py`. +- _*(optional)*_ place `GFPGANv1.3.pth` into webui directory, next to `webui.py`. +- run `bash webui.sh`. Run it as a normal user, ***not*** as root. + + + #### Troubleshooting - if your version of Python is not in PATH (or if another version is), edit `webui-user.bat`, and modify the @@ -330,4 +360,4 @@ After that follow the instructions in the `Manual instructions` section starting - Idea for SD upscale - https://github.com/jquesnelle/txt2imghd - CLIP interrogator idea and borrowing some code - https://github.com/pharmapsychotic/clip-interrogator - Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user. -- (You) +- (You) \ No newline at end of file -- cgit v1.2.3