Speech Recognition not working in python
r = sr.Recognizer()
with sr.Recognizer() as source:
print("Listining...")
r.pause_threshold = 1
audio = r.listen(source)
error :
File "f:/F.R.I.D.A.Y/main.py", line 36, in takeCommand with sr.Recognizer() as source:File "C:\Users\kakra\AppData\Local\Programs\Python\Python38-32\lib\site-packages\speech_recognition_init_.py", line 51, in enter raise NotImplementedError("this is an abstract class") NotImplementedError: this is an abstract class