Duplicated from hshr/DeepFilterNet2
155 unmodified lines156157158159159160161162155 unmodified lines try: os.remove(f) except Exception as e: print(f"failed to remove file {f}: e") print(f"failed to remove file {f}: {e}") return noisy_wav, noisy_im, enhanced_wav, enh_im