From ec83e10b8f10ac3927645ffbda147a04bfe8a85a Mon Sep 17 00:00:00 2001 From: ms903x1 <108673569+ms903x1@users.noreply.github.com> Date: Thu, 8 Jun 2023 21:29:34 +0800 Subject: [PATCH] Update gui.py default config (#482) * Update envfilescheck.bat add pretrained_v2 and uvr5 update * Update envfilescheck.bat fix bug * Update envfilescheck.bat fix bug * Update data_utils.py fix bug where data exceeding 4s is filtered out. * Update gui.py Update default config * Update gui.py fix json bug --- gui.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gui.py b/gui.py index 7119379..754d95b 100644 --- a/gui.py +++ b/gui.py @@ -265,12 +265,12 @@ class GUI: "index_path": " ", "sg_input_device": input_devices[sd.default.device[0]], "sg_output_device": output_devices[sd.default.device[1]], - "threshold": "-60", - "pitch": "12", - "index_rate": "0.5", + "threhold": "-45", + "pitch": "0", + "index_rate": "0", "block_time": "1", - "crossfade_length": "0.15", - "extra_time": "1.1", + "crossfade_length": "0.04", + "extra_time": "1", } return data