From 373beefd13a202ce27ce137ac9a0d6bc3123b8d8 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Sat, 15 Jul 2023 18:26:19 -0400 Subject: [PATCH] remove restoration option from invokeai.yaml --- invokeai/app/services/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/invokeai/app/services/config.py b/invokeai/app/services/config.py index f02798c6d1..0a70c1dd5d 100644 --- a/invokeai/app/services/config.py +++ b/invokeai/app/services/config.py @@ -271,13 +271,13 @@ class InvokeAISettings(BaseSettings): @classmethod def _excluded(self)->List[str]: - # combination of deprecated parameters and internal ones that shouldn't be exposed + # internal fields that shouldn't be exposed as command line options return ['type','initconf'] @classmethod def _excluded_from_yaml(self)->List[str]: - # combination of deprecated parameters and internal ones that shouldn't be exposed - return ['type','initconf', 'gpu_mem_reserved', 'max_loaded_models', 'version', 'from_file', 'model'] + # combination of deprecated parameters and internal ones that shouldn't be exposed as invokeai.yaml options + return ['type','initconf', 'gpu_mem_reserved', 'max_loaded_models', 'version', 'from_file', 'model', 'restore'] class Config: env_file_encoding = 'utf-8'