Open svilupp opened 4 months ago
This is great @svilupp ! I tried but I think the recording didn't work although my system says it's recording audio. I'll try on some other browser (I'm on Chrome)
I've created a repo for this demo here https://github.com/BuiltWithGenie/SpeechToText and credited you
This is great @svilupp ! I tried but I think the recording didn't work although my system says it's recording audio. I'll try on some other browser (I'm on Chrome)
I've created a repo for this demo here https://github.com/BuiltWithGenie/SpeechToText and credited you
Interesting. It worked fine for me on two laptops with Chrome, but not on a phone (maybe the same issue)?
At which point does it fail? If you don’t see the “Uploaded WAV” in browser console, it’s the JS on the client side. If you don’t see the logs in Julia REPL, it’s the Stipple/server side. The latter is not working for me on mobile.
Thanks to Helmut for suggesting using an uploader!
Desired behavior:
textfield
Below is my hacky example. I've used OpenAI Whisper API, but you can use local models like Whisper.jl (see Whisper transcriber demo). The trick was to use a hidden
uploader
that does the heavy lifting for you.MWE
A few notes:
textfield
URL.createObjectURL(audioBlob);
to get to the WAV file (play it, see it, etc).Questions:
uploader
, I get these Vue errors:vue.js:634 [Vue warn]: Property or method "channel_" is not defined on the instance but referenced during render.
- should I be concerned?EDIT: It doesn't work on mobile devices, the JS runs so it must be something in the uploader workflow (it never activates on the Julia side).