Update diff-diff.py
Browse files- diff-diff.py +0 -10
diff-diff.py
CHANGED
@@ -13,16 +13,6 @@ logger.setLevel(logging.DEBUG)
|
|
13 |
from custom import components
|
14 |
|
15 |
|
16 |
-
class DiffDiff(NodeBase):
|
17 |
-
def __init__(self, node_id=None):
|
18 |
-
super().__init__(node_id)
|
19 |
-
from diffusers.modular_pipelines.node_utils import ModularNode
|
20 |
-
self._diffdiff_block = ModularNode.from_pretrained("YiYiXu/modular-diffdiff", trust_remote_code=True)
|
21 |
-
self._diffdiff_block.setup(components=components)
|
22 |
-
|
23 |
-
def execute(self, **kwargs):
|
24 |
-
return self._diffdiff_block.execute(**kwargs)
|
25 |
-
|
26 |
|
27 |
class DiffDiffDenoise(NodeBase):
|
28 |
def __init__(self, node_id=None):
|
|
|
13 |
from custom import components
|
14 |
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
class DiffDiffDenoise(NodeBase):
|
18 |
def __init__(self, node_id=None):
|