Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 inrequirements.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.