mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
f538ed54fb
Add class `DefaultInvokeAIAppConfig`, which inherits from `InvokeAIAppConfig`. When instantiated, this class does not parse environment variables, so it outputs a "clean" default config. That's the only difference. Then, we can use this new class in the 3 places: - When creating the example config file (no env vars should be here) - When migrating a v3 config (we want to instantiate the migrated config without env vars, so that when we write it out, they are not written to disk) - When creating a fresh config file (i.e. on first run with an uninitialized root or new config file path - no env vars here!) |
||
---|---|---|
.. | ||
app | ||
assets | ||
backend | ||
configs | ||
frontend | ||
invocation_api | ||
version | ||
__init__.py |