mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
23 lines
498 B
Python
23 lines
498 B
Python
"""
|
|
InvokeAI Installer
|
|
"""
|
|
|
|
import argparse
|
|
from installer import Installer
|
|
|
|
if __name__ == "__main__":
|
|
parser = argparse.ArgumentParser()
|
|
|
|
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.root)
|
|
except KeyboardInterrupt as exc:
|
|
print("\n")
|
|
print("Ctrl-C pressed. Aborting.")
|
|
print("See you again soon!")
|