From 5c3cbd05f167af4da20d685c0751ad41135f403a Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 13 Dec 2022 05:13:46 +1100 Subject: [PATCH] Improves configure_invokeai.py postscript (#1935) The first few lines directed the user to run `python scripts/invoke.py`, which is not exactly correct anymore, and a holdover from previous versions. Improves and clarifies the postscript messaging. --- scripts/configure_invokeai.py | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/scripts/configure_invokeai.py b/scripts/configure_invokeai.py index feeaedfaf6..146dd01eaa 100644 --- a/scripts/configure_invokeai.py +++ b/scripts/configure_invokeai.py @@ -65,16 +65,23 @@ this program and resume later.\n''' #-------------------------------------------- def postscript(errors: None): if not any(errors): - message='''\n** Model Installation Successful **\nYou're all set! You may now launch InvokeAI using one of these two commands: -Web version: - python scripts/invoke.py --web (connect to http://localhost:9090) -Command-line version: - python scripts/invoke.py + message=''' +** Model Installation Successful ** -If you installed manually, remember to activate the 'invokeai' -environment before running invoke.py. If you installed using the -automated installation script, execute "invoke.sh" (Linux/Mac) or -"invoke.bat" (Windows) to start InvokeAI. +You're all set! + +If you installed using one of the automated installation scripts, +execute 'invoke.sh' (Linux/macOS) or 'invoke.bat' (Windows) to +start InvokeAI. + +If you installed manually, activate the 'invokeai' environment +(e.g. 'conda activate invokeai'), then run one of the following +commands to start InvokeAI. + +Web UI: + python scripts/invoke.py --web # (connect to http://localhost:9090) +Command-line interface: + python scripts/invoke.py Have fun! '''