New course! Every coder should learn Generative AI!
Try a free lesson+ 2
1: Install tensorflow
npm install @tensorflow/tfjs
2: Add ML model in assets folder TensorFlow.js has a Python CLI tool that converts an h5 model saved in Keras to a set files that can be used on the web
3: Load model on init using ngOnInit()