Skip to content

Commit

Permalink
Remove dep
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed May 27, 2024
1 parent b6460b3 commit 3b69d27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal_controlnet/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
PuLIDMode,
)
from annotator.util import HWC3
from scripts.supported_preprocessor import Preprocessor


def _unimplemented_func(*args, **kwargs):
Expand Down Expand Up @@ -257,7 +256,7 @@ def is_inpaint(self) -> bool:

@property
def is_ipadapter(self) -> bool:
p = Preprocessor.get_preprocessor(self.module)
p = ControlNetUnit.cls_get_preprocessor(self.module)
if p is None:
return False
return "IP-Adapter" in p.tags
Expand Down

0 comments on commit 3b69d27

Please sign in to comment.