This is my code that generates a audio file of what is written in variable text.
I want to take a pause between Hello and world. How can I do that ?
from gtts import gTTS
import os
text = "Hello **pause** World"
language = "en"
myobj = gTTS(text = text, lang = language, slow = False)
myobj.save("test.mp3")
#os.system("test.mp3")
I will be very thankful to you for answering my question.