1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 01:10:22 +08:00

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

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-06-10 22:27:48 +09:00
committed by GitHub
parent 7572c44911
commit a6c6262d91
2 changed files with 4 additions and 4 deletions

View File

@@ -119,9 +119,7 @@ class RVC(Model):
rnd = np.random.randn(1, 192, hubert_length).astype(np.float32)
hubert_length = np.array([hubert_length]).astype(np.int64)
out_wav = self.forward(
hubert, hubert_length, pitch, pitchf, ds, rnd
).squeeze()
out_wav = self.forward(hubert, hubert_length, pitch, pitchf, ds, rnd).squeeze()
out_wav = np.pad(out_wav, (0, 2 * self.hop_len), "constant")