teachablemachine-community icon indicating copy to clipboard operation
teachablemachine-community copied to clipboard

[FEATURE REQUEST]: Could you add python functionality for Audio models?

Open AdriBee opened this issue 4 years ago • 2 comments

Adding a way to export the audio models for python applications. A keras option (like on the image one) will be awesome.

Thanks!

AdriBee avatar Apr 22 '21 14:04 AdriBee

Hey @AdriBee , I had the same problem trying to run an audio model in a headless device with python. I could make it work but with node.js, but the trick could work also with python. The little trick was to launch a headless chromium with puppeteer where the javascript run the model and inside the node.js script the predictions are parsed and then you are free to go and do whatever with the predictions.

I made it to turn off/on my room's light. If you want to check out the code and how to do it go to: https://github.com/charlielito/teachable-machines-audio-demo

Any feedback is welcome!

charlielito avatar May 10 '21 15:05 charlielito

any updates?

dharmik2319 avatar Nov 14 '24 13:11 dharmik2319