This python script allows you to run a telegram bot to perform automatic speech recognition (ASR) on telegram voice messages.
The script uses the telebot and whisper python library to connect to telegram and perform ASR respectively.
Follow these instructions to register a new bot on telegram.
Save the API token in config.py.
In order for the bot to run in a serverless manner, we need to deploy it to a service.
Follow these instructions to create a Heroku account and deploy the bot.
Check that your python packages in requirements.txt match the latest pytorch release and heroku stack.
Install pytorch cpu package, to meet the required slug-size by heroku.