Skip to content

Commit

Permalink
also use setup callback for the refiner instead of before_process
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Aug 13, 2023
1 parent 9cd0475 commit 007ecfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/processing_scripts/refiner.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def lookup_checkpoint(title):

return enable_refiner, refiner_checkpoint, refiner_switch_at

def before_process(self, p, enable_refiner, refiner_checkpoint, refiner_switch_at):
def setup(self, p, enable_refiner, refiner_checkpoint, refiner_switch_at):
# the actual implementation is in sd_samplers_common.py, apply_refiner

if not enable_refiner or refiner_checkpoint in (None, "", "None"):
Expand Down

0 comments on commit 007ecfb

Please sign in to comment.