mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-23 07:27:24 +08:00
workflow embedded fix
This commit is contained in:
parent
0e3c8c07c3
commit
88d7b1bcab
@ -1022,12 +1022,15 @@ class SaveImageAdvanced(IO.ComfyNode):
|
|||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def execute(cls, images, filename_prefix: str, format: dict, embed_workflow: bool, prompt=None, extra_pnginfo=None) -> IO.NodeOutput:
|
def execute(cls, images, filename_prefix: str, format: dict, embed_workflow: bool) -> IO.NodeOutput:
|
||||||
output_dir = folder_paths.get_output_directory()
|
output_dir = folder_paths.get_output_directory()
|
||||||
full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.\
|
full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.\
|
||||||
get_save_image_path(filename_prefix, output_dir, images[0].shape[1], images[0].shape[0])
|
get_save_image_path(filename_prefix, output_dir, images[0].shape[1], images[0].shape[0])
|
||||||
results = list()
|
results = list()
|
||||||
|
|
||||||
|
prompt = cls.hidden.prompt
|
||||||
|
extra_pnginfo = cls.hidden.extra_pnginfo
|
||||||
|
|
||||||
for batch_number, image in enumerate(images):
|
for batch_number, image in enumerate(images):
|
||||||
# get widget values from dynamic combo
|
# get widget values from dynamic combo
|
||||||
file_format = format["format"]
|
file_format = format["format"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user