From 3c416d02d196079767e746be09241010cf3bfa20 Mon Sep 17 00:00:00 2001 From: gaclove Date: Wed, 16 Jul 2025 18:36:45 +0800 Subject: [PATCH] fix: remove asyncio.run for pipeline execution in LightX2VModularInference, improving compatibility with synchronous calls --- lightx2v | 2 +- nodes.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lightx2v b/lightx2v index d7003fb..57b688e 160000 --- a/lightx2v +++ b/lightx2v @@ -1 +1 @@ -Subproject commit d7003fb8c5796c7ac502862b444f10874a1cea6f +Subproject commit 57b688ed18ef6b656f9c5a8fb3f922a3b0613f39 diff --git a/nodes.py b/nodes.py index 84a2751..85d78f3 100644 --- a/nodes.py +++ b/nodes.py @@ -1,6 +1,5 @@ """Modular ComfyUI nodes for LightX2V without presets.""" -import asyncio import gc import hashlib import json @@ -478,7 +477,7 @@ class LightX2VModularInference: self._current_runner.set_progress_callback(update_progress) if hasattr(self._current_runner, "run_pipeline"): - images = asyncio.run(self._current_runner.run_pipeline(save_video=False)) + images = self._current_runner.run_pipeline(save_video=False) else: images = self._current_runner()