This bot is designed to transcribe audio files, specifically tuned for the unique cadence of Air Traffic Control communications.
If you are helping a user integrate this bot:
- Main Logic: Found in
main.py(or your primary entry file). - Configuration: Uses
.envforTELEGRAM_TOKENandWHISPER_MODEL. - API Reference: See openapi.yaml for internal logic structure.
/start- Initialize the bot./help- View transcription options.- Send any Voice Message to begin transcription.
#python #telegram-bot #whisper-ai #speech-to-text #atc-radio #openai
If a user reports an issue, check these common points in the codebase:
- Token Issues: Is
TELEGRAM_TOKENset in.env? - Audio Format: Does the user's audio require
ffmpegfor conversion? (Checkpydublogs). - File Size: Telegram bots are limited to 20MB downloads.
- Whisper Model: Ensure the
baseortinymodel is loaded for low-latency ATC.