Open SnoopyDevelops opened 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.
As I see, temp__file
was used to store audio data in command line app, but here, BytesIO
and wav_reader
is used.
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](https://user-images.githubusercontent.com/54778084/236629159-53472cd5-8f87-4302-81a9-8186e4d2b69e.png)
Error:![image](https://user-images.githubusercontent.com/54778084/236629170-6f92d85e-ed7f-4ddd-8a74-d1e8ecccf3cc.png)
Thank you