diff --git a/main.py b/main.py index bcd2a6d..5239bc1 100644 --- a/main.py +++ b/main.py @@ -17,6 +17,7 @@ def talk(text): def take_command(): + command = '' # Initialize command with an empty string try: with sr.Microphone() as source: print('listening...')