From e56584c6e2d864b17fba17452e8cc46696a3dcc3 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Tue, 26 Dec 2023 22:24:04 +0800 Subject: [PATCH] Add files via upload --- infer/modules/uvr5/vr.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infer/modules/uvr5/vr.py b/infer/modules/uvr5/vr.py index d3fbac4..ed57784 100644 --- a/infer/modules/uvr5/vr.py +++ b/infer/modules/uvr5/vr.py @@ -307,14 +307,14 @@ class AudioPreDeEcho: sf.write( os.path.join( ins_root, - "instrument_{}_{}.{}".format(name, self.data["agg"], format), + "vocal_{}_{}.{}".format(name, self.data["agg"], format), ), (np.array(wav_instrument) * 32768).astype("int16"), self.mp.param["sr"], ) # else: path = os.path.join( - ins_root, "instrument_{}_{}.wav".format(name, self.data["agg"]) + ins_root, "vocal_{}_{}.wav".format(name, self.data["agg"]) ) sf.write( path, @@ -344,14 +344,14 @@ class AudioPreDeEcho: sf.write( os.path.join( vocal_root, - "vocal_{}_{}.{}".format(name, self.data["agg"], format), + "instrument_{}_{}.{}".format(name, self.data["agg"], format), ), (np.array(wav_vocals) * 32768).astype("int16"), self.mp.param["sr"], ) else: path = os.path.join( - vocal_root, "vocal_{}_{}.wav".format(name, self.data["agg"]) + vocal_root, "instrument_{}_{}.wav".format(name, self.data["agg"]) ) sf.write( path,