Respect INVOKEAI_ prefix on environment variables

This commit is contained in:
Lincoln Stein 2023-09-21 12:37:27 -04:00
parent ca7a7b57bb
commit 6d2b4013f8

View File

@ -277,6 +277,7 @@ class InvokeAIAppConfig(InvokeAISettings):
class Config:
validate_assignment = True
env_prefix = "INVOKEAI"
def parse_args(self, argv: Optional[list[str]] = None, conf: Optional[DictConfig] = None, clobber=False):
"""