Removing console.log
Closed this issue · 4 comments
castilloedwin commented
Hey team good afternoon, is there a way to remove the console.log which is displayed when you call the nsfwjs.load function?
GantMan commented
hey hey! Do you mean this warning when you're using the default model and not the hosted one?
https://github.com/infinitered/nsfwjs/blob/master/src/index.ts#L139
castilloedwin commented
Yeah that one @GantMan
GantMan commented
So we want to keep that warning. That message only displays if you are using the FREE model that we host. To remove it, host your own copy of the model as specified in the Readme.
https://github.com/infinitered/nsfwjs?tab=readme-ov-file#host-your-own-model
castilloedwin commented
Thanks @GantMan I'll do that