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

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

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-06-02 22:49:59 +09:00
committed by GitHub
parent b9ad0258ae
commit 8767e11cf1
6 changed files with 143 additions and 71 deletions

View File

@@ -114,6 +114,7 @@ class Pipeline(object):
)
elif f0_method == "harvest":
from hashlib import md5
f0_cache_key = md5(x.tobytes()).digest()
input_audio_path2wav[f0_cache_key] = x.astype(np.double)
f0 = cache_harvest_f0(f0_cache_key, self.sr, f0_max, f0_min, 10)