-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error connecting to cloudfront.net since this morning #808
Comments
same error in my project
|
im using nsfwjs ^2.4.2 in npm |
wish i could serve whatever model files are needed from my own server, not have external dependencies. i was unaware of that when i installed it |
I specifically ASK you to please download and host the models in the Readme :D https://github.com/infinitered/nsfwjs?tab=readme-ov-file#host-your-own-model Please take the models yourself! You can host them wherever or embed them into your page. |
Went and paid the bill for our free hosting of the model - it's back HOWEVER - please host the model yourself 👍 |
@GantMan I saw this yesterday, I spent 1 hour or 2 hours trying to understand this model thing to download and put it directly in a folder on a site and when I call the url of this model I get this kind of error :
I think there is missing information / a tutorial to be able to install a model directly on our server. I also wasn't aware that I depended on an external model. I put something like this in my app.js:
I use @tensorflow/tfjs-node Could this be a problem with origin cors? |
I just downloaded it directly using
I call the model this way: In fact I don't know how to install a model. There is something to put in place that I don't know about. |
I think it's good, actually. I managed to get it working with this model:
I also noticed that it's important to download the model using I confirm it is working now. Here is a summary of the steps to be taken to have the model on our own site/server:
|
when i run it from node.js, like this:
i get the error:
|
It's fetch... https://stackoverflow.com/questions/74769009/fetch-local-files-with-node-js guess i'll just host the files for the host itself to use... |
@GantMan
without size parameter i get an error, even though i see that the defalut is not 299:
heres the error:
|
The server refuses to start with "node app.js" since this morning, it indicates that this url is not found:
nsfwjs/src/index.ts
Line 30 in 531bae8
Will it work again or should I install a model at home? How to have the same model?
The text was updated successfully, but these errors were encountered: