mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-07 19:40:44 +08:00
chore(format): run black on dev (#59)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3a79d81907
commit
1410bd4d15
@@ -153,7 +153,9 @@ class NSFGenerator(torch.nn.Module):
|
||||
if n_res is not None:
|
||||
n_res = int(n_res)
|
||||
if n_res * self.upp != har_source.shape[-1]:
|
||||
har_source = F.interpolate(har_source, size=n_res * self.upp, mode="linear")
|
||||
har_source = F.interpolate(
|
||||
har_source, size=n_res * self.upp, mode="linear"
|
||||
)
|
||||
if n_res != x.shape[-1]:
|
||||
x = F.interpolate(x, size=n_res, mode="linear")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user