From b6073d16fb46d6c78ef7c7c2a3010370e06aaadf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Tue, 19 Apr 2022 11:00:15 +0200 Subject: [PATCH] Return duration by ForwardTTS inference --- TTS/tts/models/forward_tts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/tts/models/forward_tts.py b/TTS/tts/models/forward_tts.py index e5c275c7fd..f7db282c67 100644 --- a/TTS/tts/models/forward_tts.py +++ b/TTS/tts/models/forward_tts.py @@ -677,7 +677,7 @@ def inference( outputs = { "alignments": attn, "pitch": o_pitch, - "durations_log": o_dr_log, + "durations": o_dr, "g": g, } if skip_decoder: