Reaper200 commited on
Commit
8542cf7
·
verified ·
1 Parent(s): 1ca7632

Update infer_rvc.py

Browse files
Files changed (1) hide show
  1. infer_rvc.py +16 -0
infer_rvc.py CHANGED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+ import shutil
3
+ import os
4
+
5
+ def dummy_rvc_clone(input_path, voice_sample_path, output_path):
6
+ print(f"[Mock RVC] Using {voice_sample_path} to convert {input_path}")
7
+ shutil.copy(input_path, output_path) # Simulated output
8
+
9
+ if __name__ == "__main__":
10
+ parser = argparse.ArgumentParser(description="Clone voice using RVC")
11
+ parser.add_argument("--input", required=True, help="TTS vocals WAV file")
12
+ parser.add_argument("--voice", required=True, help="Voice sample WAV file")
13
+ parser.add_argument("--output", required=True, help="Output WAV file")
14
+ args = parser.parse_args()
15
+
16
+ dummy_rvc_clone(args.input, args.voice, args.output)