updated name references for Float To Integer

This commit is contained in:
dunkeroni 2023-09-10 00:55:46 -04:00 committed by psychedelicious
parent 244201b45d
commit 41f2eaa4de
2 changed files with 2 additions and 2 deletions

View File

@ -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|
|Resize Image | Resizes an image to specific dimensions|
|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|
|Image to Latents | Encodes an image into latents.|
|Add Invisible Watermark | Add an invisible watermark to an image|

View File

@ -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")
class RoundToMultipleInvocation(BaseInvocation):
class FloatToIntegerInvocation(BaseInvocation):
"""Rounds a float number to (a multiple of) an integer."""
value: float = InputField(default=0, description="The value to round")