fix: remove duplicate code lines in aiia_audio_enhance.py (v1.4.76)

This commit is contained in:
Hawk Lee
2025-12-28 21:52:32 +08:00
parent 133f0d6749
commit aa73a4596b
+1 -4
View File
@@ -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