Skip to content
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

Website seems to be broken on FF due to CORS #2

Open
metiulekm opened this issue Aug 25, 2023 · 0 comments
Open

Website seems to be broken on FF due to CORS #2

metiulekm opened this issue Aug 25, 2023 · 0 comments

Comments

@metiulekm
Copy link

When I upload an image to https://daspartho.github.io/is-it-huggable/, no result is shown and I get the following errors in the dev console:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://hf.space/embed/daspartho/is-it-huggable/+/api/predict/. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 301.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://hf.space/embed/daspartho/is-it-huggable/+/api/predict/. (Reason: CORS request did not succeed). Status code: (null).

Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.

https://huggingface.co/spaces/daspartho/is-it-huggable works perfectly well. I am running Firefox 116.0.3 on Linux. Did not attempt to use anything else.

Amazing idea for the project BTW 😸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant