Created
April 5, 2021 05:53
-
-
Save tecsify/1d6485a72a33f5874a90f67cb6953ca7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Convierte texto a voz con Python por Tecsify | |
¡Tecnología que empodera!""" | |
from gtts import gTTS | |
import os | |
texto = input() | |
tts = gTTS(text=texto, lang = 'es') | |
tts.save("tecsify.mp3") | |
os.system("tecsify.mp3") | |
#www.Tecsify.com/blog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment