-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please slove the issue anyone #30
Comments
I get the same error on MacBook! |
The problem is in the bare def take_command():
try:
with sr.Microphone() as source:
print('listening...')
voice = listener.listen(source)
command = listener.recognize_google(voice)
command = command.lower()
if 'alexa' in command:
command = command.replace('alexa', '')
print(command)
except:
pass
return command It is hiding any error that you are getting, and instead it goes directly to the You can either display the error yourself: except Exception as e:
print(e)
return command or instead of the pass, return a command that indicates that it went wrong. |
bro its still showing wrong |
and there are other errors also |
See issue #5 |
`
The text was updated successfully, but these errors were encountered: