Skip to content

lukoshkin/asr-telegram-bot

Repository files navigation

ASR/CV Telegram Bot

Usage

  1. Prepare the environment. Note that parameters in
    grpc_audio_client.py are adjusted to quartznet15x5 model.
    ./fetch_models.sh  # CV models; ASR ─ you load manually (onnx)
    pip install requests aiogram  # telegram bot API dependencies
  2. Create a Telegram bot, obtain its token (all can be done via BotFather).
  3. Use ./start.sh to launch triton-server and fastapi "dummy client".
    You can also check the script options with ./start.sh -h command.
  4. Pass the token to the script launching the telegram bot
    python voice_transcription_bot.py -t YOUR_API_TOKEN

References

  • triton-inference-server ─ some files from there (grpc_image_client.py and fetch_models.sh)
    are adjusted to the use in this repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published