Skip to content

The transcription bot uses the Whisper library to transcribe audio and video files sent by users. It then uses the Google Translate library to translate the transcripts into the user's preferred language.

Notifications You must be signed in to change notification settings

olllayor/transcriber-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio and Video Transcription Bot

This bot can transcribe audio and video files sent by users. It uses the whisper library for transcription and the googletrans library for translation.

Prerequisites

  • Python 3.6 or later
  • aiogram
  • pydub
  • whisper
  • googletrans
  • ffmpeg (for video transcription)

Setup

  1. Create a new Python project and install the required dependencies.
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Create a new Telegram bot and get its token.

  2. Create a .env file and add the following environment variables:

BOT_TOKEN=<your bot token>

About

The transcription bot uses the Whisper library to transcribe audio and video files sent by users. It then uses the Google Translate library to translate the transcripts into the user's preferred language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published