fix: add handling for only enhance upscale fast to not divide by 0
This commit is contained in:
parent
1bc5363e43
commit
0b2e23a97e
|
|
@ -1237,6 +1237,7 @@ def worker():
|
|||
enhance_steps, _, _, _ = apply_overrides(async_task, async_task.original_steps, height, width)
|
||||
all_steps += async_task.image_number * len(async_task.enhance_ctrls) * enhance_steps
|
||||
|
||||
all_steps = max(all_steps, 1)
|
||||
|
||||
print(f'[Parameters] Denoising Strength = {denoising_strength}')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue