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.
2 parents cd1fe97 + 4586e9c commit fce86d3Copy full SHA for fce86d3
AUDIO RELATED SCRIPTS/texttoaudio/code.py
@@ -1,9 +1,9 @@
1
-
2
-audio='speech.mp3'
3
from gtts import gTTS
4
from playsound import playsound
5
-lang='en'
+
+audio='speech.mp3'
6
playsound(audio)
7
-sp.save(audio)
+lang='en'
+text="hELLO, OPEN SOURCE!"
8
sp=gTTS(text=text,lang=lang,slow=False)
9
-text="hELLO, OPEN SOURCE!"
+sp.save(audio)
0 commit comments