Skip to content

adding whisper asr API support#16

Open
GRbit wants to merge 1 commit intoFlyingFathead:mainfrom
GRbit:whisper-asr
Open

adding whisper asr API support#16
GRbit wants to merge 1 commit intoFlyingFathead:mainfrom
GRbit:whisper-asr

Conversation

@GRbit
Copy link
Contributor

@GRbit GRbit commented Feb 22, 2026

Hi @FlyingFathead !

Thank you again for your project. I'm currently running some voice transcription on my server and it's a pity that we have so many useful open-source service that can do voice transcription, but every one of them starts it's own whisper model. I just have no memory for all the things I want.

So, that where this PR comes from, it enables this bot to use whisper-asr-webserive. API mode requires aiohttp, which is included in requirements.txt. There are no other dependencies.

My IDE also applied auto-formatting for all the spaces left at the end of the lines, hope it's ok. Really new code is in whisper_api_client.py and in the new functions transcribe_audio_api (and transcribe_audio_local, but it's more of a refactoring).

I'll be honest with you, I used LLMs to generate most of the code, but I read it and I tested it. This version with remote transcription enabled is currently working on my server.

If you like the idea, I have some plans to continue with adding translation and maybe something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant