1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-08 03:55:47 +08:00

chore(format): run black on dev (#13)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-06-09 15:37:32 +09:00
committed by GitHub
parent 5790ea7a73
commit 95f627d991
6 changed files with 16 additions and 8 deletions

View File

@@ -309,7 +309,7 @@ class SynthesizerTrnMs256NSFsid_nono(nn.Module):
upsample_kernel_sizes: List[int],
spk_embed_dim: int,
gin_channels: int,
sr = None,
sr=None,
):
super(SynthesizerTrnMs256NSFsid_nono, self).__init__()
self.spec_channels = spec_channels
@@ -464,7 +464,7 @@ class SynthesizerTrnMs768NSFsid_nono(SynthesizerTrnMs256NSFsid_nono):
upsample_kernel_sizes: List[int],
spk_embed_dim: int,
gin_channels: int,
sr = None,
sr=None,
):
super(SynthesizerTrnMs768NSFsid_nono, self).__init__(
spec_channels,

View File

@@ -256,7 +256,7 @@ def load_filepaths_and_text(filename, split="|"):
except UnicodeDecodeError:
with open(filename) as f:
filepaths_and_text = [line.strip().split(split) for line in f]
return filepaths_and_text