mallorbc / whisper_mic

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

Takes considerable time to actually setup the mic and start transcribing #52

Closed overlordiam closed 2 weeks ago

overlordiam commented 10 months ago

It takes about 8-10 seconds for the program to print "Mic setup". Just wondering why there is a delay. Is it because of the whisper model or because of the mic setup itself? Is there anyway to improve the load time, if done, can enhance the project greatly. I am willing to look into it, so any leads are welcomed.

mallorbc commented 8 months ago

We load the model then setup the mic. Its probably due to the time loading the model. You can tell if this is the main thing if smaller models load quicker. Using a faster SSD and CPU would help here.