News for hackers. Stuff that matters.
Re:Shhh bot – A free telegram bot for Speech to Text on a PI... by tonym128 on Monday December 19, 2022 @07:38AM (#34051357)
I have a pet hate, it's voice notes in WhatsApp or Telegram.

There are paid for services which can transcode speech to text but none free I could find. With the release of Whisper this has become something I thought could be solved with some minimal coding.

While Whisper relies on GPU's, Whisper.cpp does not and can run on a CPU with 1Gb ram (about 500mb for the model) enter the Pi 4.

I wrote a telegram bot in Python using python-telegram-bot which calls whisper.cpp to transcode speech to text. Here's my bot which is open to all, but you could start your own, with a Pi 4 and an always up connection, you can leave it running for when you need it.

Check my bot out here https://web.telegram.org/k/#@shhhhhhhhhhhhhhhhh_bot

Check out Whipser here https://openai.com/blog/whisper/

Check out Whipser.cpp here https://github.com/ggerganov/whisper.cpp

There are no comments on this comment yet.