Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Create the temp directory on ComfyUI startup instead.

comfyanonymous0bfc7cc99837
diff --git a/main.py b/main.py
index 00b49fc4c..f5b633e5b 100644
--- a/main.py
+++ b/main.py
@@ -241,6 +241,7 @@ if __name__ == "__main__":
if args.quick_test_for_ci:
exit(0)
+ os.makedirs(folder_paths.get_temp_directory(), exist_ok=True)
call_on_start = None
if args.auto_launch:
def startup_server(scheme, address, port):