mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-09 16:21:08 -07:00
Merge branch 'dev' into gradio4
This commit is contained in:
commit
40e4ca99c5
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ replace_torchsde_browinan()
|
|||
|
||||
|
||||
def apply_refiner(cfg_denoiser, sigma=None):
|
||||
if opts.refiner_switch_by_sample_steps or not sigma:
|
||||
if opts.refiner_switch_by_sample_steps or sigma is None:
|
||||
completed_ratio = cfg_denoiser.step / cfg_denoiser.total_steps
|
||||
cfg_denoiser.p.extra_generation_params["Refiner switch by sampling steps"] = True
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue