lobe / web-bootstrap

Bootstrap your Lobe machine learning model with our web starter project.
https://lobe.ai
MIT License
73 stars 32 forks source link

Load model if it isn't available during the predict call, upgrade dependencies #25

Closed mbeissinger closed 2 years ago

mbeissinger commented 2 years ago

Upgrade package dependencies to latest, await model load during predict call, useEffect for loading the model and disposing with component lifecycle.