fix pulid

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-01-10 08:00:17 -05:00
parent 6030e95016
commit 465d7caa3a
4 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -365,5 +365,7 @@ def set_pipeline_args(p, model, prompts:list, negative_prompts:list, prompts_2:t
if debug_enabled:
debug_log(f'Diffusers pipeline args: {args}')
_args = copy.deepcopy(args) # pipeline may modify underlying args
_args = {}
for k, v in args.items():
_args[k] = copy.deepcopy(v) if not torch.is_tensor(v) else v # pipeline may modify underlying args
return _args