nsfwjs
nsfwjs copied to clipboard
[FEATURE] Add Local Storage Flag
Perhaps add local storage flag that will save the model to the browser localstorage. Then you can check if there's a cached localstored model before loading from URL?
I imagine this will be faster than just assuming URLs.
https://js.tensorflow.org/api/latest/#io.listModels