Skip to content

This repository implements the Telegram bot functionality. With the help of the developed bot user can convert a voice message into text, regardless of the length of the input audio file.

License

Notifications You must be signed in to change notification settings

as1mple/Speech-Recognition-Bot

Repository files navigation

Speech-Recognition-Bot


Templates

pip install -r requirements.txt
export TOKEN=TOKEN
export SERVER_HOST=SERVER-HOST
export SERVER_PORT=SERVER-PORT
python src/bot.py

Docker

sudo docker build -f Dockerfile -t bot_speech_to_text_image . # => Docker Build
sudo docker run -it -d --env-file .env --restart unless-stopped  -v /{full path to project}/logs/:/app/logs/ --name bot_speech_to_text bot_speech_to_text_image # => Docker Run

Docker-Compose

docker-compose up

Bash

sh run-bot-recogniton-docker-procss.sh

Pre-commit hooks

pre-commit run --all-files

Alternative way:

bash pre-commit.sh

About

This repository implements the Telegram bot functionality. With the help of the developed bot user can convert a voice message into text, regardless of the length of the input audio file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages