From 459c927f0b2ca57d5778b5e80cee0cf42ff7cf55 Mon Sep 17 00:00:00 2001 From: shahules786 Date: Wed, 5 Oct 2022 20:36:24 +0530 Subject: [PATCH] inference --- enhancer/inference.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/enhancer/inference.py b/enhancer/inference.py index 1abd8bb..ae399f1 100644 --- a/enhancer/inference.py +++ b/enhancer/inference.py @@ -1,11 +1,12 @@ -import numpy as np -from scipy.signal import get_window -from scipy.io import wavfile +from pathlib import Path from typing import Optional, Union + +import numpy as np import torch import torch.nn.functional as F -from pathlib import Path from librosa import load as load_audio +from scipy.io import wavfile +from scipy.signal import get_window from enhancer.utils import Audio