update rtn imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from ....src.realtimenodes.control_base import ControlNodeBase
|
||||
import copy
|
||||
from ....src.utils.general_utils import AlwaysEqualProxy
|
||||
from ....src.utils.general import AlwaysEqualProxy
|
||||
|
||||
class StateResetNode(ControlNodeBase):
|
||||
"""Node that resets all control node states when triggered"""
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from ....src.utils.general_utils import AlwaysEqualProxy
|
||||
from ....src.realtimenodes.control_base import ControlNodeBase
|
||||
from ....src.utils.general import AlwaysEqualProxy
|
||||
|
||||
class LazyCondition(ControlNodeBase):
|
||||
DESCRIPTION = "Uses lazy evaluation to truly skip execution of unused paths. Maintains state of the last value to circumvent feedback loops."
|
||||
|
||||
@@ -5,7 +5,7 @@ import numpy as np
|
||||
import cv2
|
||||
import torch
|
||||
import random
|
||||
from ....src.utils.general_utils import AlwaysEqualProxy
|
||||
from ....src.utils.general import AlwaysEqualProxy
|
||||
# # Add package root to Python path # <-- REMOVED
|
||||
# sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
from ....src.realtimenodes.control_base import ControlNodeBase
|
||||
|
||||
@@ -9,7 +9,7 @@ from PIL import Image, ImageFont, ImageDraw, ImageOps
|
||||
import nodes
|
||||
import random
|
||||
from torchvision import transforms
|
||||
from ...src.utils.general_utils import AlwaysEqualProxy
|
||||
from ...src.utils.general import AlwaysEqualProxy
|
||||
MAX_RESOLUTION = nodes.MAX_RESOLUTION # Get the same max resolution as core nodes
|
||||
|
||||
class DTypeConverter:
|
||||
|
||||
Reference in New Issue
Block a user