MCPcopy Create free account
hub / github.com/cubiq/ComfyUI_IPAdapter_plus / save

Method save

IPAdapterPlus.py:1610–1616  ·  view source on GitHub ↗
(self, embeds, filename_prefix)

Source from the content-addressed store, hash-verified

1608 CATEGORY = "ipadapter/embeds"
1609
1610 def save(self, embeds, filename_prefix):
1611 full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir)
1612 file = f"{filename}_{counter:05}.ipadpt"
1613 file = os.path.join(full_output_folder, file)
1614
1615 torch.save(embeds, file)
1616 return (None, )
1617
1618class IPAdapterLoadEmbeds:
1619 @classmethod

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected