1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-09 12:30:38 +08:00

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

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-11-28 18:07:17 +09:00
committed by GitHub
parent 7befbd10d9
commit 19619161be
5 changed files with 36 additions and 15 deletions

View File

@@ -76,7 +76,9 @@ class RVC(Model):
hubert = np.repeat(hubert, 2, axis=2).transpose(0, 2, 1).astype(np.float32)
hubert_length = hubert.shape[1]
pitch, pitchf = self.f0_gen.calculate(wav, hubert_length, f0_up_key, f0_method, None)
pitch, pitchf = self.f0_gen.calculate(
wav, hubert_length, f0_up_key, f0_method, None
)
pitch = pitch.astype(np.int64)
pitchf = pitchf.reshape(1, len(pitchf)).astype(np.float32)