probe for required encoder for IPAdapters and add to config

This commit is contained in:
Lincoln Stein
2024-02-09 20:46:47 -05:00
committed by psychedelicious
parent d959276217
commit f7e558d165
3 changed files with 15 additions and 23 deletions

View File

@ -263,6 +263,7 @@ class IPAdapterConfig(ModelConfigBase):
"""Model config for IP Adaptor format models."""
type: Literal[ModelType.IPAdapter] = ModelType.IPAdapter
image_encoder_model_id: str
format: Literal[ModelFormat.InvokeAI]