diff --git a/modules/speech/speech.py b/modules/speech/speech.py index fd67957..f98146e 100644 --- a/modules/speech/speech.py +++ b/modules/speech/speech.py @@ -1,6 +1,6 @@ import speech_recognition as sr -class voiceInput(object): +class voiceInput: recognizer = sr.Recognizer() muted = True diff --git a/speech_daemon.py b/speech_daemon.py index f381b03..9cf7a50 100755 --- a/speech_daemon.py +++ b/speech_daemon.py @@ -13,7 +13,7 @@ homedir = expanduser("~") CONFIG = {} -class speech_daemon(object): +class speech_daemon: voiceInpObj = None deviceIndex = None