ASR/CV Telegram Bot
Usage
- Prepare the environment. Note that parameters in
grpc_audio_client.pyare adjusted toquartznet15x5model../fetch_models.sh # CV models; ASR ─ you load manually (onnx) pip install requests aiogram # telegram bot API dependencies
- Create a Telegram bot, obtain its token (all can be done via BotFather).
- Use
./start.shto launch triton-server andfastapi"dummy client".
You can also check the script options with./start.sh -hcommand. - 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.pyandfetch_models.sh)
are adjusted to the use in this repository.
On this page
Contributors
MIT License
Created October 26, 2022
Updated November 23, 2022