A simple telegram bot that converts text to natural human speech using edge tts.
git clone https://github.com/prabesh09/TTSBot.git
pip install -r requirements.txt
Go to @BotFather and create a new telegram bot.
Once a Telegram bot has been created, an API token will be generated. This token must then be inserted into the project. When you send a message to the Telegram bot you created, it will process your message and create an audio file as a response. So, basically, you type something into the bot and it will send you back an audio file. (The bot only works when the program is running.)
In main.py
update the value, choose from voices.txt
.
VOICE = "en-US-JennyNeural"