Spaces:
Runtime error
Runtime error
phamngoctukts
commited on
Update render.py
Browse files
render.py
CHANGED
@@ -82,6 +82,7 @@ def generate_images(positive_prompt, image):
|
|
82 |
else:
|
83 |
data.pop("90", None)
|
84 |
data.pop("68", None)
|
|
|
85 |
seed = random.randint(1, 1000000000)
|
86 |
data["47"]["inputs"]["noise_seed"] = seed
|
87 |
images = get_images(ws, data)
|
|
|
82 |
else:
|
83 |
data.pop("90", None)
|
84 |
data.pop("68", None)
|
85 |
+
data["62"]["inputs"]["images"] = ["61",0]
|
86 |
seed = random.randint(1, 1000000000)
|
87 |
data["47"]["inputs"]["noise_seed"] = seed
|
88 |
images = get_images(ws, data)
|