Update invokeai/backend/model_manager/config.py

Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
This commit is contained in:
Lincoln Stein 2023-11-10 18:21:38 -05:00 committed by GitHub
parent 9316534d97
commit 33a412a24f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,12 @@ class TextualInversionConfig(ModelConfigBase):
class MainConfig(ModelConfigBase):
"""Model config for main models."""
vae: Optional[str] = Field(None)
class MainConfig(ModelConfigBase):
"""Model config for main models."""
vae: Optional[str] = Field(default=None)
variant: ModelVariantType = ModelVariantType.Normal
ztsnr_training: bool = False
variant: ModelVariantType = ModelVariantType.Normal
ztsnr_training: bool = False