From 81323dbac60503f8147936ad0d1128148cf12811 Mon Sep 17 00:00:00 2001 From: tocky <55511257+tttocklll@users.noreply.github.com> Date: Wed, 28 Jun 2023 14:54:44 +0900 Subject: [PATCH] fix boolean parsing (#629) --- infer_batch_rvc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer_batch_rvc.py b/infer_batch_rvc.py index 3635d5e..4ba8e05 100644 --- a/infer_batch_rvc.py +++ b/infer_batch_rvc.py @@ -100,7 +100,7 @@ opt_path = sys.argv[5] model_path = sys.argv[6] index_rate = float(sys.argv[7]) device = sys.argv[8] -is_half = bool(sys.argv[9]) +is_half = sys.argv[9].lower() != "false" filter_radius = int(sys.argv[10]) resample_sr = int(sys.argv[11]) rms_mix_rate = float(sys.argv[12])