Skip to content

Commit

Permalink
Fix category for model import configs
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonrising committed Feb 23, 2024
1 parent f6ac2a9 commit 5686287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions invokeai/app/services/config/config_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5686287

Please sign in to comment.