This commit is contained in:
Goury 2023-02-05 19:36:36 +08:00 committed by GitHub
commit f4be79ef69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 17 deletions

View File

@ -119,7 +119,7 @@ sudo pacman -S wget git python3
```
2. To install in `/home/$(whoami)/stable-diffusion-webui/`, run:
```bash
bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh)
bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.bash)
```
### Installation on Apple Silicon

View File

@ -1,8 +1,8 @@
#!/bin/bash
####################################################################
# macOS defaults #
# Please modify webui-user.sh to change these instead of this file #
####################################################################
######################################################################
# macOS defaults #
# Please modify webui-user.bash to change these instead of this file #
######################################################################
if [[ -x "$(command -v python3.10)" ]]
then
@ -16,4 +16,4 @@ export K_DIFFUSION_REPO="https://github.com/brkirch/k-diffusion.git"
export K_DIFFUSION_COMMIT_HASH="51c9778f269cedb55a4d88c79c0246d35bdadb71"
export PYTORCH_ENABLE_MPS_FALLBACK=1
####################################################################
######################################################################

View File

@ -1,22 +1,22 @@
#!/usr/bin/env bash
#################################################
# Please do not make any changes to this file, #
# change the variables in webui-user.sh instead #
#################################################
###################################################
# Please do not make any changes to this file, #
# change the variables in webui-user.bash instead #
###################################################
# If run from macOS, load defaults from webui-macos-env.sh
# If run from macOS, load defaults from webui-macos-env.bash
if [[ "$OSTYPE" == "darwin"* ]]; then
if [[ -f webui-macos-env.sh ]]
if [[ -f webui-macos-env.bash ]]
then
source ./webui-macos-env.sh
source ./webui-macos-env.bash
fi
fi
# Read variables from webui-user.sh
# Read variables from webui-user.bash
# shellcheck source=/dev/null
if [[ -f webui-user.sh ]]
if [[ -f webui-user.bash ]]
then
source ./webui-user.sh
source ./webui-user.bash
fi
# Set defaults
@ -58,7 +58,7 @@ fi
# this script cannot be run as root by default
can_run_as_root=0
# read any command line flags to the webui.sh script
# read any command line flags to the webui.bash script
while getopts "f" flag > /dev/null 2>&1
do
case ${flag} in