Commit bf348032 authored by drhead's avatar drhead Committed by GitHub

fix missing arg

parent 25eeeaa6
...@@ -155,7 +155,7 @@ def replace_torchsde_browinan(): ...@@ -155,7 +155,7 @@ def replace_torchsde_browinan():
replace_torchsde_browinan() replace_torchsde_browinan()
def apply_refiner(cfg_denoiser): def apply_refiner(cfg_denoiser, sigma):
if opts.refiner_switch_by_sample_steps: if opts.refiner_switch_by_sample_steps:
completed_ratio = cfg_denoiser.step / cfg_denoiser.total_steps completed_ratio = cfg_denoiser.step / cfg_denoiser.total_steps
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment