mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-03-14 17:37:25 +00:00
Update controlnet.py
This commit is contained in:
@@ -942,9 +942,12 @@ class ControlNetForForgeOfficial(scripts.Script):
|
||||
self.post_processors = post_processors
|
||||
|
||||
def process_unit_after_click_generate(self, p, unit, params, *args, **kwargs):
|
||||
h, w, hr_y, hr_x = self.get_target_dimensions(p)
|
||||
return
|
||||
|
||||
def process_unit_before_every_sampling(self, p, unit, params, *args, **kwargs):
|
||||
h, w, hr_y, hr_x = self.get_target_dimensions(p)
|
||||
is_hr_pass = p.is_hr_pass
|
||||
return
|
||||
|
||||
def process(self, p, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user