times list -> dict

This commit is contained in:
Ftps
2023-11-19 04:06:07 +09:00
parent 97a3405f9f
commit 2532e81561

View File

@@ -105,7 +105,7 @@ class VC:
audio_max = np.abs(audio).max() / 0.95
if audio_max > 1:
audio /= audio_max
times = [0, 0, 0]
times = {"npy": 0, "f0": 0, "infer": 0}
if self.hubert_model is None:
self.hubert_model = load_hubert(self.config)