mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(nodes): revert change to RandomRangeInvocation
This commit is contained in:
@@ -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),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user