Overview
When users input the recipe url into the text prompt, the web app will extract the ingredients out of the recipe url using cheerio
and forward to a deep learning model exported in onnx
format and was trained using HuggingFace Trainer
, lastly, sugar level will get returned.
The AI model is deployed at the edge, which means the AI model will get loaded at the client side using onnxruntime
with wasm
backend, no custom Python backend is required which drastically reduce the deployment costs.
Try it here: https://ingbetic.vercel.app/
Technology used
Frontend
- Next.js - Full Stack React Framework
- Typescript - Superset Form of JS
- TailwindCSS - Utility CSS Class
- Reactflow - Node-based Interactive Editor
Model
- Python - Prog Lang
- HuggingFace - Hub for Model & Dataset
- ONNX - Quantization & Inference
Top comments (0)