mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(mm): omit type/format/base when creating unknown config instance
This commit is contained in:
@@ -36,7 +36,7 @@ class Unknown_Config(Config_Base):
|
||||
cloned_override_fields.pop("format", None)
|
||||
|
||||
return cls(
|
||||
**override_fields,
|
||||
**cloned_override_fields,
|
||||
# Override the type/format/base to ensure it's marked as unknown.
|
||||
base=BaseModelType.Unknown,
|
||||
type=ModelType.Unknown,
|
||||
|
||||
Reference in New Issue
Block a user