mirror of
https://github.com/invoke-ai/InvokeAI
synced 2025-07-25 21:05:37 +00:00
This commit fixes the root search logic to be as follows: 1) The `--root_dir` command line argument 2) The contents of environment variable INVOKEAI_ROOT 3) The VIRTUAL_ENV environment variable, plus '..' 4) $HOME/invokeai (3) is the new feature. Since we are now recommending to install InvokeAI and its dependencies into the .venv in the root directory, this should be a reliable choice.