Transcriber Bot
A Telegram bot to transcribe audio, video and image into text.
Deploy to Heroku
Local Deploying
Install the FFmpeg. Make sure you have FFmpeg on the same folder as the script file if you are on Linux or Mac.
-
Clone the repo
git clone https://github.com/samadii/Transcribe-Bot
-
Now head to this page and install Tesseract installer.
-
Use it to install Tesseract, Then Go to this line and add the PATH where Tesseract is installed.
-
Fill this PATH with the path of the tessdata folder.
-
Enter the directory
cd Transcribe-Bot
-
Install all requirements using pip.
pip3 install -r requirements.txt
-
Run the file.
python3 bot.py
Environment Variables
Mandatory Vars
API_ID
- Get this from my.telegram.orgAPI_HASH
- Get this from my.telegram.orgBOT_TOKEN
- Get this from @BotFather