chore: vc_single -> vc_inference

This commit is contained in:
Ftps
2024-03-07 22:39:30 +09:00
parent cf00b3fb9e
commit 4918cd3219
4 changed files with 5 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ from rvc.modules.vc.modules import VC
def main():
vc = VC()
vc.get_vc("{model.pth}")
tgt_sr, audio_opt, times, _ = vc.vc_single(
tgt_sr, audio_opt, times, _ = vc.vc_inference(
1, Path("{InputAudio}")
)
wavfile.write("{OutputAudio}", tgt_sr, audio_opt)