From ada17799b8e7c0c47fc92bdc864f2df604fd71e7 Mon Sep 17 00:00:00 2001 From: Laurent Mazare Date: Tue, 26 Aug 2025 14:40:43 +0200 Subject: [PATCH] Bugfix. (#126) --- scripts/tts_pytorch.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/tts_pytorch.py b/scripts/tts_pytorch.py index 0755b8f..fe08b99 100644 --- a/scripts/tts_pytorch.py +++ b/scripts/tts_pytorch.py @@ -120,7 +120,6 @@ def main(): def _on_frame(frame): nonlocal _frames_cnt - nonlocal last_time if (frame != -1).all(): _frames_cnt += 1 print(f"generated {_frames_cnt / 12.5:.2f}s", end="\r", flush=True)