Feb-12-2018, 11:09 AM
(This post was last modified: Feb-12-2018, 02:09 PM by sparkz_alot.)
My code is bellows
(1)with sr.Microphone() as source:
(2) print('Say anything')
(3) audio=r.listen(source) <=Need to change
(4) print('Done')
In line(3) How do I do? I need to change like audio=r.listen(source,langauge='th')
Thanks in advance.
(1)with sr.Microphone() as source:
(2) print('Say anything')
(3) audio=r.listen(source) <=Need to change
(4) print('Done')
In line(3) How do I do? I need to change like audio=r.listen(source,langauge='th')
Thanks in advance.