mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 19:01:06 -08:00
also use setup callback for the refiner instead of before_process
This commit is contained in:
parent
9cd0475c08
commit
007ecfbb29
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class ScriptRefiner(scripts.Script):
|
|||
|
||||
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"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue