From 1f8524705b927297c5d0ff391fad9bf63d3b9af2 Mon Sep 17 00:00:00 2001 From: talksik Date: Thu, 27 Apr 2023 17:04:40 -0700 Subject: [PATCH] repeat --- basic_text_to_speech/talk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic_text_to_speech/talk.py b/basic_text_to_speech/talk.py index 769c11a..3a24e02 100644 --- a/basic_text_to_speech/talk.py +++ b/basic_text_to_speech/talk.py @@ -14,7 +14,7 @@ if __name__ == '__main__': try: print("initializing") robot("Hello world how are you doing today?") - time.sleep(10) + break except KeyboardInterrupt: break