I have installed gTTS module (pip install gTTS
) in my venv.
I want to have a progress bar for text to speech process.
Is that possible with gTTS.
If not which module can i use alternative?
I want something like:
def my_callback(percent):
pass
from gtts import gTTS
tts = gTTS('hello',callback=my_callback)
tts.save('hello.mp3')
or
def my_callback(percent):
pass
from gtts import gTTS
tts = gTTS('hello')
tts.save('hello.mp3',callback=my_callback)