7 lines
176 B
Python
7 lines
176 B
Python
|
from gtts import gTTS
|
||
|
import os
|
||
|
text2electricboogaloo = input("Enter Text: ")
|
||
|
tts = gTTS(text=text2electricboogaloo, lang='en')
|
||
|
tts.save("good.mp3")
|
||
|
os.system("play good.mp3")
|