nsfwjs icon indicating copy to clipboard operation
nsfwjs copied to clipboard

[FEATURE] Add Local Storage Flag

Open GantMan opened this issue 3 years ago • 1 comments

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.

GantMan avatar Mar 06 '22 01:03 GantMan

https://js.tensorflow.org/api/latest/#io.listModels

GantMan avatar Mar 06 '22 02:03 GantMan