1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 17:20:25 +08:00

optimize(rvc): move . into layers

This commit is contained in:
源文雨
2024-06-10 22:22:58 +09:00
parent 1a4cb9294e
commit 7572c44911
17 changed files with 19 additions and 18 deletions

View File

@@ -24,7 +24,7 @@ from fairseq import checkpoint_utils
# from models import SynthesizerTrn256#hifigan_nonsf
# from lib.infer_pack.models import SynthesizerTrn256NSF as SynthesizerTrn256#hifigan_nsf
from rvc.synthesizers import (
from rvc.layers.synthesizers import (
SynthesizerTrnMs256NSFsid as SynthesizerTrn256,
) # hifigan_nsf
from scipy.io import wavfile

View File

@@ -19,6 +19,6 @@ model = RVC(
wav, sr = librosa.load(wav_path, sr=sampling_rate)
audio = model.inference(wav, sr, sid, f0_method=f0_method, f0_up_key=f0_up_key)
audio = model.infer(wav, sr, sid, f0_method=f0_method, f0_up_key=f0_up_key)
soundfile.write(out_path, audio, sampling_rate)