From 48461833c282e3df444ec8a42059ee44064bf335 Mon Sep 17 00:00:00 2001 From: mrq Date: Tue, 15 Oct 2024 19:30:43 -0500 Subject: [PATCH] ugh --- vall_e/inference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vall_e/inference.py b/vall_e/inference.py index dc5a8f0..150e128 100755 --- a/vall_e/inference.py +++ b/vall_e/inference.py @@ -128,7 +128,7 @@ class TTS(): # kludge, but it's to correct an oversight in training if trim_length: - res = repeat_extend_audio( res, cfg.dataset.frames_per_second * trim_length ) + res = repeat_extend_audio( res, int( cfg.dataset.frames_per_second * trim_length ) ) """ if trim_length: