infinitered/nsfwjs

Removing console.log

Closed this issue · 4 comments

Hey team good afternoon, is there a way to remove the console.log which is displayed when you call the nsfwjs.load function?

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

Yeah that one @GantMan

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

Thanks @GantMan I'll do that