fix(nodes): revert change to RandomRangeInvocation

This commit is contained in:
psychedelicious
2023-04-20 00:05:41 +10:00
parent 162bcda49e
commit 1e12c9b21f

View File

@@ -53,7 +53,7 @@ class RandomRangeInvocation(BaseInvocation):
seed: Optional[int] = Field(
ge=0,
le=np.iinfo(np.int32).max,
description="The seed for the RNG, provide None or -1 for random",
description="The seed for the RNG",
default_factory=lambda: numpy.random.randint(0, np.iinfo(np.int32).max),
)