You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from gtts import gTTS
|
|
|
|
|
|
class GTTS:
|
|
def tts(self, req_text: str = "Google Text To Speech", filename: str = "title.mp3", random_speaker=False, censer=False):
|
|
tts = gTTS(text=req_text, lang="en", slow=False)
|
|
tts.save(f"{filename}")
|