gtts
This commit is contained in:
9
gtts_lib/gtts_first.py
Normal file
9
gtts_lib/gtts_first.py
Normal file
@ -0,0 +1,9 @@
|
||||
import os
|
||||
#pip install gTTS
|
||||
from gtts import gTTS
|
||||
|
||||
tts = gTTS('Ez egy teszt szöveg', lang='hu')
|
||||
tts.save('teszt szöveg.mp3')
|
||||
|
||||
tts = gTTS('This is atest message', lang='en')
|
||||
tts.save('test message.mp3')
|
||||
BIN
gtts_lib/test message.mp3
Normal file
BIN
gtts_lib/test message.mp3
Normal file
Binary file not shown.
BIN
gtts_lib/teszt szöveg.mp3
Normal file
BIN
gtts_lib/teszt szöveg.mp3
Normal file
Binary file not shown.
Reference in New Issue
Block a user