What is this error- “IOError: [Errno 2] No such file or directory: 'audio.flac' ”, i am trying to use the google voice recognition api for python
问题 Basically i want to convert speech to text, so I am trying to use the google voice recognition api for python. This is the code which i'm trying to run- from pygsr import Pygsr speech = Pygsr() speech.record(3) # duration in seconds (3) phrase, complete_response = speech.speech_to_text('es_ES') print phrase # This is the required output I've installed all the modules correctly, so probably nothing is wrong with the modules, i am getting the following error- Traceback (most recent call last):