mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
(installer) run configure_invokeai from within the installer
This commit is contained in:
parent
802b95b9d9
commit
93129fde32
@ -210,9 +210,9 @@ class InvokeAiInstance:
|
||||
Configure the InvokeAI runtime directory
|
||||
"""
|
||||
|
||||
from ldm.invoke.configuration import configure
|
||||
from ldm.invoke.config import configure_invokeai
|
||||
|
||||
configure.main()
|
||||
configure_invokeai.main()
|
||||
|
||||
def update(self):
|
||||
pass
|
||||
|
@ -8,14 +8,14 @@ from installer import Installer
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser()
|
||||
|
||||
parser.add_argument("-d", "--destination", type=str, help="Destination path for installation", default="~/invokeai")
|
||||
parser.add_argument("-r", "--root", type=str, help="Destination path for installation", default="~/invokeai")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
inst = Installer()
|
||||
|
||||
try:
|
||||
inst.install(path=args.destination)
|
||||
inst.install(path=args.root)
|
||||
except KeyboardInterrupt as exc:
|
||||
print("\n")
|
||||
print("Ctrl-C pressed. Aborting.")
|
||||
|
Loading…
Reference in New Issue
Block a user