diff --git a/scripts/tts_pytorch.py b/scripts/tts_pytorch.py index 63d4578..0755b8f 100644 --- a/scripts/tts_pytorch.py +++ b/scripts/tts_pytorch.py @@ -117,6 +117,7 @@ def main(): break time.sleep(1) else: + def _on_frame(frame): nonlocal _frames_cnt nonlocal last_time