We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 41ac139 + ec3c31e commit b9c3f4eCopy full SHA for b9c3f4e
webui-macos-env.sh
@@ -4,11 +4,6 @@
4
# Please modify webui-user.sh to change these instead of this file #
5
####################################################################
6
7
-if [[ -x "$(command -v python3.10)" ]]
8
-then
9
- python_cmd="python3.10"
10
-fi
11
-
12
export install_dir="$HOME"
13
export COMMANDLINE_ARGS="--skip-torch-cuda-test --upcast-sampling --no-half-vae --use-cpu interrogate"
14
export PYTORCH_ENABLE_MPS_FALLBACK=1
webui.sh
@@ -44,7 +44,11 @@ fi
44
# python3 executable
45
if [[ -z "${python_cmd}" ]]
46
then
47
- python_cmd="python3"
+ python_cmd="python3.10"
48
+fi
49
+if [[ ! -x "$(command -v "${python_cmd}")" ]]
50
+then
51
+ python_cmd="python3"
52
fi
53
54
# git executable
0 commit comments