Awesome-Python-Scripts/TTS_Text_to_Speech_Mp3/run.py

9 lines
118 B
Python
Raw Normal View History

from gtts import gTTS
def main():
tts = gTTS('hello')
tts.save('hello.mp3')
if __name__ == "__main__":
main()