Skip to content

Commit

Permalink
fix(app): silence pydantic protected namespace warning
Browse files Browse the repository at this point in the history
Closes #7287
  • Loading branch information
psychedelicious committed Nov 7, 2024
1 parent 2f6b035 commit b06c42b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions invokeai/backend/model_manager/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ class SubmodelDefinition(BaseModel):
model_type: ModelType
variant: AnyVariant = None

model_config = ConfigDict(protected_namespaces=())


class MainModelDefaultSettings(BaseModel):
vae: str | None = Field(default=None, description="Default VAE for this model (model key)")
Expand Down

0 comments on commit b06c42b

Please sign in to comment.