how to creat a text to speech with python in visual studio code

Опубликовано: 01 Октябрь 2024
на канале: INDIAN HACKER
650
8

in this vedio we are creating text to speech the code of this project is=
from gtts import gTTS
import os

mytext = "your text"


language = 'en'


output = gTTS(text=mytext, lang=language, slow=False)


output.save("output.mp3")


os.system("start output.mp3")


and please follow me and vist my website

please subscribe to my channel
follow me on :-

Instagram =   / bhuvankrish2005  

facebook =   / bhuvan.krish.18  

twitter =   / krish_bhuvan  

website = https://bhuavntech.godaddysites.com/

please follow me and visit my website