fix(nodes): set min and max for l2l strength

This commit is contained in:
psychedelicious 2023-05-30 18:10:48 +10:00 committed by Kent Keirsey
parent 47ca71a7eb
commit a9a2bd90c2

View File

@ -366,7 +366,7 @@ class LatentsToLatentsInvocation(TextToLatentsInvocation):
# Inputs
latents: Optional[LatentsField] = Field(description="The latents to use as a base image")
strength: float = Field(default=0.5, description="The strength of the latents to use")
strength: float = Field(default=0.7, ge=0, le=1, description="The strength of the latents to use")
# Schema customisation
class Config(InvocationConfig):