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:
committed by
GitHub
parent
b9ad0258ae
commit
8767e11cf1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user