fix: correctly update scene's seed
This commit is contained in:
@@ -4,9 +4,9 @@ from ..node import Node
|
||||
class Clothes(Node):
|
||||
|
||||
def __init__(self, seed=0, state="random", type="random"):
|
||||
super().__init__(seed, data_file="clothes.toml")
|
||||
self.state = state
|
||||
self.type = type
|
||||
super().__init__(seed, data_file="clothes.toml")
|
||||
|
||||
def build_prompt(self, seed):
|
||||
self.seed = seed
|
||||
|
||||
@@ -63,6 +63,7 @@ class Scene(Node):
|
||||
return inputs
|
||||
|
||||
def build_prompt(self, seed, **kwargs):
|
||||
self.seed = seed
|
||||
components = self.components
|
||||
prompt = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user