mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
fix ipadapter check
This commit is contained in:
@@ -14,3 +14,4 @@ Main ToDo list can be found at [GitHub projects](https://github.com/users/vladma
|
||||
- masking api
|
||||
- preprocess api
|
||||
- bind panZoom to control input
|
||||
- masking.outpaint should return mask and override future run_masking
|
||||
|
||||
@@ -67,7 +67,7 @@ def process_diffusers(p: processing.StableDiffusionProcessing):
|
||||
time.sleep(0.1)
|
||||
if kwargs.get('latents', None) is None:
|
||||
return kwargs
|
||||
if getattr(p, "ip_adapter_names", ["None"])[0] != "None":
|
||||
if len(getattr(p, "ip_adapter_names", [])) > 0:
|
||||
ip_adapter_scales = list(p.ip_adapter_scales)
|
||||
ip_adapter_starts = list(p.ip_adapter_starts)
|
||||
ip_adapter_ends = list(p.ip_adapter_ends)
|
||||
|
||||
Reference in New Issue
Block a user