mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-24 09:22:32 +08:00
Move imports to the top in nodes_void.py
This commit is contained in:
parent
6c4b1cebd1
commit
7609381243
@ -1,14 +1,16 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
import nodes
|
import numpy as np
|
||||||
import node_helpers
|
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
import comfy
|
import comfy
|
||||||
import comfy.model_management
|
import comfy.model_management
|
||||||
import comfy.samplers
|
import comfy.samplers
|
||||||
import comfy.utils
|
import comfy.utils
|
||||||
|
import node_helpers
|
||||||
|
import nodes
|
||||||
from comfy.utils import model_trange as trange
|
from comfy.utils import model_trange as trange
|
||||||
from comfy_api.latest import io, ComfyExtension
|
from comfy_api.latest import ComfyExtension, io
|
||||||
from typing_extensions import override
|
from typing_extensions import override
|
||||||
|
|
||||||
TEMPORAL_COMPRESSION = 4
|
TEMPORAL_COMPRESSION = 4
|
||||||
@ -236,8 +238,6 @@ class VOIDWarpedNoise(io.ComfyNode):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def execute(cls, video, width, height, length, batch_size) -> io.NodeOutput:
|
def execute(cls, video, width, height, length, batch_size) -> io.NodeOutput:
|
||||||
import numpy as np
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import rp
|
import rp
|
||||||
rp.r._pip_import_autoyes = True
|
rp.r._pip_import_autoyes = True
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user