Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-06-26 15:00:27 -04:00
parent 46387d0c01
commit d6a8d2b173
+1 -1
View File
@@ -301,7 +301,7 @@ def set_pipeline_args(p, model, prompts:list, negative_prompts:list, prompts_2:t
args['control_strength'] = p.denoising_strength
args['width'] = p.width
args['height'] = p.height
if 'Cosmos2TextToImagePipeline':
if 'Cosmos2' in model.__class__.__name__:
kwargs['output_type'] = 'np' # cosmos uses wan-vae which is weird
# set callbacks
if 'prior_callback_steps' in possible: # Wuerstchen / Cascade