Skip to content

Telegram bot that transcribes audio messages sent to it.

License

Notifications You must be signed in to change notification settings

bolt-observer/transcriber-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transcriber Bot

Telegram bot that transcribes audio messages sent to it.

The bot keeps no state and deletes files after processing.

PSA: this is under heavy development

Deployment

git clone https://github.com/bolt-observer/transcriber-bot.git
cd transcriber-bot
pip install -r requirements.txt 
cp example_settings.py settings.py
# edit settings.py
python transcriberbot.py

Configuration

TELEGRAM_BOT_TOKEN - Follow telegram's instruction on how to create your own telegram bot. This will provide you with a token that you put in settings.py

MODEL_PATH - Download one of the whisper models converted to ggml format from HuggingFace and put the path to the file in settings.py. Example MODEL_PATH="~/whisper.cpp/models/ggml-base.en.bin"

Demo

image

Todo

  • audio file filtering
  • inline commands so it can transcribe voice msgs in groups
  • better error handling

About

Telegram bot that transcribes audio messages sent to it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages