davabase / transcriber_app

Real time speech to text transcription app.
363 stars 69 forks source link

Error in utilizing Whisper API on devices without GPU #21

Open SnoopyDevelops opened 1 year ago

SnoopyDevelops commented 1 year ago

I don't have GPU installed on my PC and can't support real time transcribe with only CPU. Therefore, I updated code to utilize Whisper API, but getting this error.

The updated code: image

Error: image

Thank you

davabase commented 1 year ago

I have not looked into this but on my command line app for Whisper someone made a PR with the Whisper API. You can look at it for inspiration.

SnoopyDevelops commented 1 year ago

As I see, temp__filewas used to store audio data in command line app, but here, BytesIOand wav_readeris used.