mallorbc / whisper_mic

Project that allows one to use a microphone with OpenAI whisper.
MIT License
705 stars 158 forks source link

Audio is lost #10

Closed tatellos closed 1 year ago

tatellos commented 1 year ago

Hello friend! Thank you for your great initiative with this repository, it's very useful! However, I noticed that because the call to the model is a blocking call, the voice input during the time the AI model is working is lost. In a private repo I fixed this with threading and queues, would you be interested in a Pull Request for this repo as well?

mallorbc commented 1 year ago

Hi! Glad you found this useful. I am definitely open to PRs. I will be approving the currently open PR soon and could review yours as well.