You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: