(installer) fix syntax error in invoke.sh.in

This commit is contained in:
Eugene Brodsky 2022-12-02 14:37:16 -05:00 committed by Lincoln Stein
parent b487fa4391
commit 26671d8eed

View File

@ -11,9 +11,9 @@ source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # otherwise conda complains abou
conda activate invokeai
# set required env var for torch on mac MPS
if [ "$(uname -s)" == "Darwin" ]; then
export PYTORCH_ENABLE_MPS_FALLBACK=1
fi
if [ "$(uname -s)" == "Darwin" ]; then
export PYTORCH_ENABLE_MPS_FALLBACK=1
fi
if [ "$0" != "bash" ]; then
echo "Do you want to generate images using the"