赞
踩
安装:pip install gTTS
使用demo:
Write ‘hello’ in English to hello.mp3:
from gtts import gTTS
tts = gTTS('hello', lang='en')
tts.save('hello.mp3')
Write ‘hello’ in Australian English to hello.mp3:
from gtts import gTTS
tts
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。