mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
updated name references for Float To Integer
This commit is contained in:
parent
244201b45d
commit
41f2eaa4de
@ -45,7 +45,7 @@ The table below contains a list of the default nodes shipped with InvokeAI and t
|
|||||||
|ImageProcessor | Base class for invocations that preprocess images for ControlNet|
|
|ImageProcessor | Base class for invocations that preprocess images for ControlNet|
|
||||||
|Resize Image | Resizes an image to specific dimensions|
|
|Resize Image | Resizes an image to specific dimensions|
|
||||||
|Round Float | Rounds a float to a specified number of decimal places|
|
|Round Float | Rounds a float to a specified number of decimal places|
|
||||||
|Round To Multiple | Converts a float to an integer|
|
|Float to Integer | Converts a float to an integer. Optionally rounds to an even multiple of a input number.|
|
||||||
|Scale Image | Scales an image by a factor|
|
|Scale Image | Scales an image by a factor|
|
||||||
|Image to Latents | Encodes an image into latents.|
|
|Image to Latents | Encodes an image into latents.|
|
||||||
|Add Invisible Watermark | Add an invisible watermark to an image|
|
|Add Invisible Watermark | Add an invisible watermark to an image|
|
||||||
|
@ -65,7 +65,7 @@ class RandomIntInvocation(BaseInvocation):
|
|||||||
|
|
||||||
|
|
||||||
@invocation("float_to_int", title="Float To Integer", tags=["math", "round", "integer", "float", "convert"], category="math", version="1.0.0")
|
@invocation("float_to_int", title="Float To Integer", tags=["math", "round", "integer", "float", "convert"], category="math", version="1.0.0")
|
||||||
class RoundToMultipleInvocation(BaseInvocation):
|
class FloatToIntegerInvocation(BaseInvocation):
|
||||||
"""Rounds a float number to (a multiple of) an integer."""
|
"""Rounds a float number to (a multiple of) an integer."""
|
||||||
|
|
||||||
value: float = InputField(default=0, description="The value to round")
|
value: float = InputField(default=0, description="The value to round")
|
||||||
|
Loading…
Reference in New Issue
Block a user