Fix category for model import configs

This commit is contained in:
Brandon Rising 2024-02-22 15:48:54 -05:00 committed by Brandon
parent 6b595ecd8a
commit d1e7a2f094

View File

@ -287,8 +287,8 @@ class InvokeAIAppConfig(InvokeAISettings):
node_cache_size : int = Field(default=512, description="How many cached nodes to keep in memory", json_schema_extra=Categories.Nodes)
# MODEL IMPORT
civitai_api_key : Optional[str] = Field(default=os.environ.get("CIVITAI_API_KEY"), description="API key for CivitAI", json_schema_extra=Categories.Other)
model_sym_links : bool = Field(default=False, description="If true, create symbolic links to models instead of copying them", json_schema_extra=Categories.Other)
civitai_api_key : Optional[str] = Field(default=os.environ.get("CIVITAI_API_KEY"), description="API key for CivitAI", json_schema_extra=Categories.ModelImport)
model_sym_links : bool = Field(default=False, description="If true, create symbolic links to models instead of copying them", json_schema_extra=Categories.ModelImport)
# DEPRECATED FIELDS - STILL HERE IN ORDER TO OBTAN VALUES FROM PRE-3.1 CONFIG FILES
always_use_cpu : bool = Field(default=False, description="If true, use the CPU for rendering even if a GPU is available.", json_schema_extra=Categories.MemoryPerformance)