Skip to content

Commit

Permalink
chore(pre-commit.ci): auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Feb 10, 2025
1 parent 8827fab commit 23e19ee
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/so_vits_svc_fork/f0.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def normalize_f0(


def interpolate_f0(
f0: ndarray[Any, dtype[float32]]
f0: ndarray[Any, dtype[float32]],
) -> tuple[ndarray[Any, dtype[float32]], ndarray[Any, dtype[float32]]]:
data = np.reshape(f0, (f0.size, 1))

Expand Down
8 changes: 5 additions & 3 deletions src/so_vits_svc_fork/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
2 changes: 1 addition & 1 deletion src/so_vits_svc_fork/preprocessing/preprocess_resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 23e19ee

Please sign in to comment.