mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
xyzgrid for ipadapter
This commit is contained in:
@@ -23,8 +23,8 @@ class Script(scripts.Script):
|
||||
def process(self, p: processing.StableDiffusionProcessing, enabled, adapter_name, scale, image): # pylint: disable=arguments-differ
|
||||
if shared.backend != shared.Backend.DIFFUSERS:
|
||||
return
|
||||
p.ip_adapter_image = image
|
||||
if enabled:
|
||||
p.ip_adapter_name = adapter_name
|
||||
p.ip_adapter_scale = scale
|
||||
p.ip_adapter_image = image
|
||||
# ipadapter.apply(shared.sd_model, p, adapter_name, scale, image) # called directly from processing.process_images_inner
|
||||
|
||||
Reference in New Issue
Block a user