mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
update chrono pipeline
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -391,6 +391,11 @@ def set_pipeline_args(p, model, prompts:list, negative_prompts:list, prompts_2:t
|
||||
continue
|
||||
args[arg] = kwargs[arg]
|
||||
|
||||
# optional preprocess
|
||||
if hasattr(model, 'preprocess') and callable(model.preprocess):
|
||||
model.preprocess(p, args)
|
||||
|
||||
|
||||
# handle task specific args
|
||||
if sd_models.get_diffusers_task(model) == sd_models.DiffusersTaskType.MODULAR:
|
||||
task_kwargs = task_modular_kwargs(p, model)
|
||||
|
||||
Reference in New Issue
Block a user