thedyze / save-image-extended-comfyui

Extended Save node for ComfyUI
66 stars 6 forks source link

Multiple properties with same name #12

Open photogsy opened 6 months ago

photogsy commented 6 months ago

I'm using a workflow where I load two checkpoints, one for the initial generation and one for the upscale (using Ultimate SD Upscale). I would like to use the initial generation checkpoint name in the folder name, but if I enter ckpt_name in the foldername_keys field, I get the checkpoint that was used for upscale, not initial generation.

Is it possible to determine which to use if there are multiple identical named properties? E.g. using the node title?

photogsy commented 6 months ago

Any ideas on this please? I tried changing line 125 to:

if obj.title + '|' + key in target_keys or key in target_keys

but it doesn't work. Any help would be appreciated!

audioscavenger commented 2 months ago

submit your request here and i will have a look when i can, promise