diff --git a/source_installer/invoke.sh.in b/source_installer/invoke.sh.in index bc9e8a5f4f..bcc651f665 100755 --- a/source_installer/invoke.sh.in +++ b/source_installer/invoke.sh.in @@ -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"