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

Calling huggingface spaces Gradio API does not work anymore #103

Open
fawadrashid opened this issue Oct 16, 2023 · 0 comments
Open

Calling huggingface spaces Gradio API does not work anymore #103

fawadrashid opened this issue Oct 16, 2023 · 0 comments

Comments

@fawadrashid
Copy link

I created a Bird detector based on the video lesson and I created a gradio app on huggingface spaces. The app works fine when i run it own spaces but when i try to call the API from javascript like from local html file the browser gives out 403 and CORS error. I encountered the same issue running apps that other students had created. I think the direct javascript method of hitting huggingface spaces gradio app API no longer works. In-fact their documentation no longer gives out curl or javascript code snippets anymore. It is only giving a NodeJs JavaScript snippet. So i think github pages option of creating javascript apps no longer works. Do guide if there is a workaround

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