mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Two changes to command-line scripts
- installer - use correct entry point for invokeai-configure - model merge script - prevent error when `--root` not provided
This commit is contained in:
parent
591838a84b
commit
f851ad7ba0
@ -348,7 +348,7 @@ class InvokeAiInstance:
|
|||||||
|
|
||||||
introduction()
|
introduction()
|
||||||
|
|
||||||
from invokeai.frontend.install import invokeai_configure
|
from invokeai.frontend.install.invokeai_configure import invokeai_configure
|
||||||
|
|
||||||
# NOTE: currently the config script does its own arg parsing! this means the command-line switches
|
# NOTE: currently the config script does its own arg parsing! this means the command-line switches
|
||||||
# from the installer will also automatically propagate down to the config script.
|
# from the installer will also automatically propagate down to the config script.
|
||||||
|
@ -382,6 +382,7 @@ def run_cli(args: Namespace):
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
args = _parse_args()
|
args = _parse_args()
|
||||||
|
if args.root_dir:
|
||||||
config.parse_args(["--root", str(args.root_dir)])
|
config.parse_args(["--root", str(args.root_dir)])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user