We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf29acc commit 7dd1ac4Copy full SHA for 7dd1ac4
Code-Sleep-Python/text-to-speech/tts.py
@@ -1,5 +1,5 @@
1
from gtts import gTTS
2
3
-text = ("Hello world!")
+text = input("Enter the text you want to convert: ")
4
tts = gTTS(text=text, lang='en')
5
tts.save("speech.mp3")
0 commit comments