add xyz, fix

This commit is contained in:
aria1th 2023-12-08 22:13:35 +09:00
parent af7d7ce951
commit 873aea82ea
2 changed files with 2 additions and 1 deletions

View file

@ -35,7 +35,7 @@ class ScriptDeepCache(scripts.Script):
if shared.opts.deepcache_enable:
hr_steps = getattr(p, 'hr_second_pass_steps', 0) or p.steps
enable_step = int(shared.opts.deepcache_cache_enable_step_percentage_hr * hr_steps)
self.configure_deepcache(self.get_deepcache_params(getattr(p, 'hr_second_pass_steps', 0) or p.steps), enable_step_at = enable_step) # use second pass steps if available
self.configure_deepcache(self.get_deepcache_params(getattr(p, 'hr_second_pass_steps', 0) or p.steps, enable_step_at = enable_step)) # use second pass steps if available
def postprocess_batch(self, p:processing.StableDiffusionProcessing, *args, **kwargs):
print("DeepCache postprocess")