del audio after processing

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-08-14 16:03:45 +02:00
parent b0649e0ec1
commit 807a9be6b5
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -684,6 +684,8 @@ def run_ltx(task_id,
else:
w, h = p.width, p.height
del pixels
if audio is not None:
del audio
resolution = f'{w}x{h}' if num_frames > 0 else None
summary = timer.process.summary(min_time=0.25, total=False).replace('=', ' ')
+2
View File
@@ -174,6 +174,8 @@ def generate(task_id, _ui_state,
)
_n, _c, _t, h, w = pixels.shape
del pixels
if audio is not None:
del audio
t1 = time.time()
progress.finish_task(task_id)