1
0
mirror of synced 2024-11-23 23:21:03 +01:00

fix boolean parsing (#629)

This commit is contained in:
tocky 2023-06-28 14:54:44 +09:00 committed by GitHub
parent 549ac02698
commit 81323dbac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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])