Skip to content

Commit 9130408

Browse files
chore(format): run black on dev (#41)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 22715ea commit 9130408

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rvc/f0/mel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __init__(
1919
mel_fmin: int = 0,
2020
mel_fmax: int = None,
2121
clamp: float = 1e-5,
22-
device = torch.device("cpu"),
22+
device=torch.device("cpu"),
2323
):
2424
super().__init__()
2525
if n_fft is None:
@@ -45,7 +45,7 @@ def __init__(
4545
hop_length=hop_length,
4646
win_length=win_length,
4747
window="hann",
48-
use_torch_stft="privateuseone" not in str(device)
48+
use_torch_stft="privateuseone" not in str(device),
4949
).to(device)
5050

5151
def forward(

rvc/f0/stft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def __init__(
1414
hop_length=512,
1515
win_length: Optional[int] = None,
1616
window="hann",
17-
use_torch_stft = True,
17+
use_torch_stft=True,
1818
):
1919
"""
2020
This module implements an STFT using 1D convolution and 1D transpose convolutions.

0 commit comments

Comments
 (0)