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