I am trying to convert an Audio file to text . Audio is saved as Wel.wav
in my desktop.
Below is the code:
Python Text to Speech Example Method 1: Using pyttsx3 Pyttsx3 is an offline cross-platform Test-to-Speech library which is compatible with both Python 3 and Python 2 and supports multiple TTS engines. Convert Text to Speech in Python There are several APIs available to convert text to speech in python. One of such APIs is the Google Text to Speech API commonly known as the gTTS API. GTTS is a very easy to use tool which converts the text entered, into audio which can be saved as a mp3 file.
I am getting the below error:
Now when i try to give it with directory location,
i have changed the audio command as
It is throwing the below error :
Could anyone please help me regarding this .