mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2025-12-13 23:14:27 +08:00
Update nodes.py
This commit is contained in:
parent
e8bc2fd052
commit
47f028e0bd
2
nodes.py
2
nodes.py
@ -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]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user