This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request | |
import ast | |
import time | |
from colorama import Fore, Style | |
completed = False | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import snowboydecoder | |
import sys | |
import signal | |
interrupted = False | |
def signal_handler(signal, frame): | |
global interrupted | |
interrupted = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import signal | |
import snowboydecoder | |
interrupted = False | |
def interrupt_func(signal, frame): | |
global interrupted | |
interrupted = True | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import speech_recognition | |
sr = speech_recognition | |
r = sr.Recognizer | |
class Recognise: | |
def detect(self): |