ошибка unexpected eof while parsing python не могу монять из - за чего

import speech_recognition as sr
def command():
    r = sr.Recognizer()
with sr.Microphone(device_index=1)as source:
        print("говори")
        audio = r.listen(source)
try:
     query = r.recjgnize_google(audio,language="ru-Ru").lower
     query = command()
     def sdel(query):

      if'привет' in query:
 print("привет босс")
            |
        на этом моменте выдаёт ошибку

буду очень благодарен если поможете !


Ответы (0 шт):