Skip to content

Commit

Permalink
Merge pull request #768 from AznamirWoW/fixes
Browse files Browse the repository at this point in the history
fixed imports for inference module
  • Loading branch information
blaisewf authored Oct 1, 2024
2 parents 6358eeb + f357429 commit 4f5e57f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rvc/infer/infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
Delay,
)

from scipy.io import wavfile
from audio_upscaler import upscale

now_dir = os.getcwd()
sys.path.append(now_dir)

Expand Down Expand Up @@ -257,6 +254,7 @@ def convert_audio(
print(f"Converting audio '{audio_input_path}'...")

if upscale_audio == True:
from audio_upscaler import upscale
upscale(audio_input_path, audio_input_path)
audio = load_audio_infer(
audio_input_path,
Expand Down

0 comments on commit 4f5e57f

Please sign in to comment.