Commit 760a7836 authored by brkirch's avatar brkirch
Browse files

Use python3.10 for python_cmd if available

parent 44c46f0e
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,11 @@
# Please modify webui-user.sh to change these instead of this file #
# Please modify webui-user.sh to change these instead of this file #
####################################################################
####################################################################


if [[ -x "$(command -v python3.10)" ]]
then
    python_cmd="python3.10"
fi

export COMMANDLINE_ARGS="--skip-torch-cuda-test --no-half --use-cpu interrogate"
export COMMANDLINE_ARGS="--skip-torch-cuda-test --no-half --use-cpu interrogate"
export TORCH_COMMAND="pip install torch==1.12.1 torchvision==0.13.1"
export TORCH_COMMAND="pip install torch==1.12.1 torchvision==0.13.1"
export K_DIFFUSION_REPO="https://github.com/brkirch/k-diffusion.git"
export K_DIFFUSION_REPO="https://github.com/brkirch/k-diffusion.git"