Skip to content

Commit 7dd1ac4

Browse files
shardul08prateekiiest
authored andcommitted
updated tts (prateekiiest#158)
1 parent cf29acc commit 7dd1ac4

File tree

1 file changed

+1
-1
lines changed
  • Code-Sleep-Python/text-to-speech

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from gtts import gTTS
22

3-
text = ("Hello world!")
3+
text = input("Enter the text you want to convert: ")
44
tts = gTTS(text=text, lang='en')
55
tts.save("speech.mp3")

0 commit comments

Comments
 (0)