Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add logic for finding the root (runtime) directory (#1948)
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.
- Loading branch information