lobe / web-bootstrap

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

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

Closed mbeissinger closed 3 years ago

mbeissinger commented 3 years ago

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