Spaces:
Running
Running
Update tools/infer_cli.py
Browse files- tools/infer_cli.py +2 -3
tools/infer_cli.py
CHANGED
@@ -15,18 +15,17 @@ from infer.modules.vc.modules import VC
|
|
15 |
#
|
16 |
# In your Terminal or CMD or whatever
|
17 |
|
18 |
-
|
19 |
def arg_parse() -> tuple:
|
20 |
parser = argparse.ArgumentParser()
|
21 |
parser.add_argument("--f0up_key", type=int, default=0)
|
22 |
parser.add_argument("--input_path", type=str, help="input path")
|
23 |
parser.add_argument("--index_path", type=str, help="index path")
|
24 |
-
parser.add_argument("--f0method", type=str, default="
|
25 |
parser.add_argument("--opt_path", type=str, help="opt path")
|
26 |
parser.add_argument("--model_name", type=str, help="store in assets/weight_root")
|
27 |
parser.add_argument("--index_rate", type=float, default=0.66, help="index rate")
|
28 |
parser.add_argument("--device", type=str, help="device")
|
29 |
-
parser.add_argument("--is_half", type=bool, help="use half -> True")
|
30 |
parser.add_argument("--filter_radius", type=int, default=3, help="filter radius")
|
31 |
parser.add_argument("--resample_sr", type=int, default=0, help="resample sr")
|
32 |
parser.add_argument("--rms_mix_rate", type=float, default=1, help="rms mix rate")
|
|
|
15 |
#
|
16 |
# In your Terminal or CMD or whatever
|
17 |
|
|
|
18 |
def arg_parse() -> tuple:
|
19 |
parser = argparse.ArgumentParser()
|
20 |
parser.add_argument("--f0up_key", type=int, default=0)
|
21 |
parser.add_argument("--input_path", type=str, help="input path")
|
22 |
parser.add_argument("--index_path", type=str, help="index path")
|
23 |
+
parser.add_argument("--f0method", type=str, default="rmvpe", help="harvest or pm")
|
24 |
parser.add_argument("--opt_path", type=str, help="opt path")
|
25 |
parser.add_argument("--model_name", type=str, help="store in assets/weight_root")
|
26 |
parser.add_argument("--index_rate", type=float, default=0.66, help="index rate")
|
27 |
parser.add_argument("--device", type=str, help="device")
|
28 |
+
parser.add_argument("--is_half", type=bool, help="use half -> True",default=False)
|
29 |
parser.add_argument("--filter_radius", type=int, default=3, help="filter radius")
|
30 |
parser.add_argument("--resample_sr", type=int, default=0, help="resample sr")
|
31 |
parser.add_argument("--rms_mix_rate", type=float, default=1, help="rms mix rate")
|