From 79d5ac59fcee7ed12c5e062f976ff160e3d561f3 Mon Sep 17 00:00:00 2001 From: Quinton Date: Thu, 2 Apr 2026 09:56:55 +0200 Subject: [PATCH] Add setup script for InvokeAI installation and initial configuration --- Untitled-2 | 7 +++++++ main.py | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 Untitled-2 diff --git a/Untitled-2 b/Untitled-2 new file mode 100644 index 000000000..8ccb56b40 --- /dev/null +++ b/Untitled-2 @@ -0,0 +1,7 @@ +cd "/Volumes/Macbook Air Ext/web app test" +git clone https://github.com/invoke-ai/InvokeAI.git +cd InvokeAI +../venv/bin/pip install -r requirements.txt +# Download SDXL model to InvokeAI/models/checkpoints/ +../venv/bin/python scripts/invoke.py --web +# Open http://localhost:9090 \ No newline at end of file diff --git a/main.py b/main.py index 12b04719d..a0397abce 100644 --- a/main.py +++ b/main.py @@ -31,10 +31,10 @@ setup_logger(log_level=args.verbose, use_stdout=args.log_stdout) faulthandler.enable(file=sys.stderr, all_threads=False) -import comfy_aimdo.control +# import comfy_aimdo.control # Disabled on macOS as not supported -if enables_dynamic_vram(): - comfy_aimdo.control.init() +# if enables_dynamic_vram(): +# comfy_aimdo.control.init() if os.name == "nt": os.environ['MIMALLOC_PURGE_DELAY'] = '0'