mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(nodes): remove constraints on ip adapter metadata fields
This commit is contained in:
parent
b5940039f3
commit
16dacb5f43
@ -43,16 +43,10 @@ class IPAdapterMetadataField(BaseModel):
|
|||||||
description="The IP-Adapter model.",
|
description="The IP-Adapter model.",
|
||||||
)
|
)
|
||||||
weight: Union[float, list[float]] = Field(
|
weight: Union[float, list[float]] = Field(
|
||||||
default=1,
|
|
||||||
ge=0,
|
|
||||||
description="The weight given to the IP-Adapter",
|
description="The weight given to the IP-Adapter",
|
||||||
)
|
)
|
||||||
begin_step_percent: float = Field(
|
begin_step_percent: float = Field(description="When the IP-Adapter is first applied (% of total steps)")
|
||||||
default=0, ge=-1, le=2, description="When the IP-Adapter is first applied (% of total steps)"
|
end_step_percent: float = Field(description="When the IP-Adapter is last applied (% of total steps)")
|
||||||
)
|
|
||||||
end_step_percent: float = Field(
|
|
||||||
default=1, ge=0, le=1, description="When the IP-Adapter is last applied (% of total steps)"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
@invocation_output("metadata_item_output")
|
@invocation_output("metadata_item_output")
|
||||||
|
Loading…
Reference in New Issue
Block a user