Skip to content

Commit 5d16521

Browse files
committed
make fix-copies
1 parent d3dfb5f commit 5d16521

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/diffusers/utils/dummy_pt_objects.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,21 @@ def from_pretrained(cls, *args, **kwargs):
6262
requires_backends(cls, ["torch"])
6363

6464

65+
class FrequencyDecoupledGuidance(metaclass=DummyObject):
66+
_backends = ["torch"]
67+
68+
def __init__(self, *args, **kwargs):
69+
requires_backends(self, ["torch"])
70+
71+
@classmethod
72+
def from_config(cls, *args, **kwargs):
73+
requires_backends(cls, ["torch"])
74+
75+
@classmethod
76+
def from_pretrained(cls, *args, **kwargs):
77+
requires_backends(cls, ["torch"])
78+
79+
6580
class PerturbedAttentionGuidance(metaclass=DummyObject):
6681
_backends = ["torch"]
6782

0 commit comments

Comments
 (0)