Bug fixes for application hanging on Windows.
This commit is contained in:
parent
f215476e61
commit
2896c4d167
@ -86,6 +86,7 @@ def main(search_engine, take_command, debug):
|
||||
change_volume(query, take_command)
|
||||
|
||||
speak("Next Command! Sir!")
|
||||
|
||||
gui.set_speak_command(execute_the_command_said_by_user)
|
||||
set_gui_speak(gui.speak)
|
||||
gui.mainloop()
|
||||
@ -107,6 +108,7 @@ def run():
|
||||
with sr.Microphone() as source:
|
||||
print("Listening....")
|
||||
r.pause_threshold = 0.5
|
||||
r.energy_threshold = int(config['DEFAULT']['energy_threshold'])
|
||||
audio = r.listen(source)
|
||||
|
||||
query = " "
|
||||
|
||||
@ -6,6 +6,7 @@ musicpath =
|
||||
voice = Male
|
||||
rate = 150
|
||||
volume = 100
|
||||
energy_threshold = 300
|
||||
|
||||
[EMAIL]
|
||||
server = smtp.gmail.com
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user