mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-15 06:41:00 -08:00
add refiner to StableDiffusionProcessing class
write out correct model name in infotext, rather than the refiner model
This commit is contained in:
parent
b2080756fc
commit
fa9370b741
3 changed files with 36 additions and 20 deletions
|
|
@ -145,7 +145,7 @@ def apply_refiner(cfg_denoiser):
|
|||
refiner_switch_at = cfg_denoiser.p.refiner_switch_at
|
||||
refiner_checkpoint_info = cfg_denoiser.p.refiner_checkpoint_info
|
||||
|
||||
if refiner_switch_at is not None and completed_ratio <= refiner_switch_at:
|
||||
if refiner_switch_at is not None and completed_ratio < refiner_switch_at:
|
||||
return False
|
||||
|
||||
if refiner_checkpoint_info is None or shared.sd_model.sd_checkpoint_info == refiner_checkpoint_info:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue