Update nodes.py

This commit is contained in:
kijai 2024-10-21 00:29:44 +03:00
parent e8bc2fd052
commit 47f028e0bd

View File

@ -1044,7 +1044,7 @@ class ToraEncodeTrajectory:
vae = pipeline["pipe"].vae
vae.enable_slicing()
canvas_width, canvas_height = 256, 256
canvas_width, canvas_height = width, height
coordinates = json.loads(coordinates.replace("'", '"'))
coordinates = [(coord['x'], coord['y']) for coord in coordinates]