From 2532e81561f1e992787054b94f9a182a520ca8f8 Mon Sep 17 00:00:00 2001 From: Ftps Date: Sun, 19 Nov 2023 04:06:07 +0900 Subject: [PATCH] times list -> dict --- rvc/modules/vc/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rvc/modules/vc/modules.py b/rvc/modules/vc/modules.py index 10585d3..6d1740a 100644 --- a/rvc/modules/vc/modules.py +++ b/rvc/modules/vc/modules.py @@ -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)