The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Use absolute output directory path.
comfyanonymous1d9ec62cfb74
diff --git a/nodes.py b/nodes.pyindex a9189c6fb..23b398290 100644--- a/nodes.py+++ b/nodes.py@@ -502,7 +502,7 @@ class SaveImage:if extra_pnginfo is not None:for x in extra_pnginfo:metadata.add_text(x, json.dumps(extra_pnginfo[x]))- img.save(f"output/{filename_prefix}_{counter:05}_.png", pnginfo=metadata, optimize=True)+ img.save(os.path.join(self.output_dir, f"{filename_prefix}_{counter:05}_.png"), pnginfo=metadata, optimize=True)counter += 1class LoadImage: