mirror of
https://github.com/vladmandic/automatic
synced 2026-08-26 15:16:01 +02:00
add support for json configs per model component
This commit is contained in:
@@ -229,7 +229,7 @@ def process_diffusers(p: processing.StableDiffusionProcessing):
|
||||
if 'latents' in possible and getattr(p, "init_latent", None) is not None:
|
||||
args['latents'] = p.init_latent
|
||||
if 'output_type' in possible:
|
||||
if hasattr(model, 'vae'):
|
||||
if not hasattr(model, 'vae'):
|
||||
args['output_type'] = 'np' # only set latent if model has vae
|
||||
|
||||
# stable cascade
|
||||
|
||||
Reference in New Issue
Block a user