add refiner to StableDiffusionProcessing class

write out correct model name in infotext, rather than the refiner model
This commit is contained in:
AUTOMATIC1111
2023-08-13 06:07:30 +03:00
parent b2080756fc
commit fa9370b741
3 changed files with 36 additions and 20 deletions

View File

@@ -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: