From cf534d735c37a84724c5fb15b9fb19d026ad3c2a Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Thu, 23 Mar 2023 21:15:45 -0400 Subject: [PATCH] duplicate of PR #3016, but based on main --- installer/templates/invoke.sh.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/templates/invoke.sh.in b/installer/templates/invoke.sh.in index 812bcba458..ef1686e3f2 100644 --- a/installer/templates/invoke.sh.in +++ b/installer/templates/invoke.sh.in @@ -24,9 +24,9 @@ if [ "$(uname -s)" == "Darwin" ]; then export PYTORCH_ENABLE_MPS_FALLBACK=1 fi -while true -do if [ "$0" != "bash" ]; then + while true + do echo "Do you want to generate images using the" echo "1. command-line interface" echo "2. browser-based UI" @@ -87,9 +87,9 @@ if [ "$0" != "bash" ]; then echo "Invalid selection" exit;; esac + done else # in developer console python --version echo "Press ^D to exit" export PS1="(InvokeAI) \u@\h \w> " fi -done