From 2ae34565158419a0c6c18892077e444fac26e709 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:23:04 +0000 Subject: [PATCH] chore(pre-commit.ci): auto fixes --- src/so_vits_svc_fork/gui.py | 8 +++++--- src/so_vits_svc_fork/preprocessing/preprocess_resample.py | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/so_vits_svc_fork/gui.py b/src/so_vits_svc_fork/gui.py index 8a4a3103..050df8b9 100644 --- a/src/so_vits_svc_fork/gui.py +++ b/src/so_vits_svc_fork/gui.py @@ -362,9 +362,11 @@ def main(): sg.FileBrowse( initial_folder=".", key="input_path_browse", - file_types=get_supported_file_types_concat() - if os.name == "nt" - else get_supported_file_types(), + file_types=( + get_supported_file_types_concat() + if os.name == "nt" + else get_supported_file_types() + ), ), sg.FolderBrowse( button_text="Browse(Folder)", diff --git a/src/so_vits_svc_fork/preprocessing/preprocess_resample.py b/src/so_vits_svc_fork/preprocessing/preprocess_resample.py index d6009007..fde8e53a 100644 --- a/src/so_vits_svc_fork/preprocessing/preprocess_resample.py +++ b/src/so_vits_svc_fork/preprocessing/preprocess_resample.py @@ -116,7 +116,7 @@ def preprocess_resample( warnings.warn( f"Recommended folder structure has changed since v1.0.0. " "Please move your dataset directly under dataset_raw folder. " - f"Recoginzed {in_path_relative} as {new_in_path_relative}" + f"Recognized {in_path_relative} as {new_in_path_relative}" ) in_path_relative = new_in_path_relative