diff --git a/lightx2v b/lightx2v index 305350a..f662570 160000 --- a/lightx2v +++ b/lightx2v @@ -1 +1 @@ -Subproject commit 305350a16b9facdb79e6cc1ed1a5594312d5f92b +Subproject commit f662570da3aebb871479cd7dedb870597ab23a10 diff --git a/nodes.py b/nodes.py index 9460174..8bd061b 100644 --- a/nodes.py +++ b/nodes.py @@ -757,13 +757,13 @@ class LightX2VModularInference: logging.error(f"Error during inference: {e}") raise - # finally: - # for temp_file in temp_files: - # if os.path.exists(temp_file): - # try: - # os.unlink(temp_file) - # except Exception: - # pass + finally: + for temp_file in temp_files: + if os.path.exists(temp_file): + try: + os.unlink(temp_file) + except Exception: + pass NODE_CLASS_MAPPINGS = {