File size: 247 Bytes
068ed60
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
# Test 1 edge-tts in cmd:
from gtts import gTTS
import os



# Test 2 gtts in cmd:
mytext = "Witaj świecie! Mam na imię GOOGLE ASSISTANT."
audio = gTTS(text=mytext, lang="pl", slow=False)
audio.save("example.mp3")
os.system("start example.mp3")