Skip to content

Commit

Permalink
Fix debug loglevel (#2139)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored Sep 22, 2023
1 parent e67e017 commit 7a4805c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/controlnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ def process_has_sdxl_refiner(p):
return getattr(p, 'refiner_checkpoint', None) is not None

def process(self, p, *args, **kwargs):
if not self.process_has_sdxl_refiner(p):
if not Script.process_has_sdxl_refiner(p):
self.controlnet_hack(p)
return

Expand All @@ -983,7 +983,7 @@ def before_process_batch(self, p, *args, **kwargs):
noise_modifier=self.noise_modifier,
sd_model=p.sd_model)
self.noise_modifier = None
if self.process_has_sdxl_refiner(p):
if Script.process_has_sdxl_refiner(p):
self.controlnet_hack(p)
return

Expand Down

0 comments on commit 7a4805c

Please sign in to comment.