1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 15:04:50 +08:00

Create the temp directory on ComfyUI startup instead.

This commit is contained in:
comfyanonymous
2024-09-18 09:39:43 -04:00
parent 7183fd1665
commit 0bfc7cc998

View File

@@ -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):