From aa73a4596be2c6340cfa7d5e8e55bdf23d9223e7 Mon Sep 17 00:00:00 2001 From: Hawk Lee Date: Sun, 28 Dec 2025 21:52:32 +0800 Subject: [PATCH] fix: remove duplicate code lines in aiia_audio_enhance.py (v1.4.76) --- aiia_audio_enhance.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/aiia_audio_enhance.py b/aiia_audio_enhance.py index 2e5986b..2b884a3 100644 --- a/aiia_audio_enhance.py +++ b/aiia_audio_enhance.py @@ -491,10 +491,7 @@ class AIIA_Audio_Enhance: hwav = hwav[..., :original_len] return hwav.cpu() - elif hwav.shape[-1] < target_length: - hwav = F.pad(hwav, (0, target_length - hwav.shape[-1])) - - return hwav.cpu() + # Apply Patch 1: Inference Chunk inference_mod.inference_chunk = safe_inference_chunk