Getting a CORS error when embedding the my private space

I wanted to follow the instructions how to embed a chatbot in my website from:

it works when the space is public.
But if the space is private, I am getting CORS error.

1 Like

I think it is not possible to embed Private Space web pages in principle. The information is a little out of date, so I don’t know if it is still not possible…
If you need to do it, please contact HF.
website@huggingface.co

Hi @zfdm To embed a Space, you must set the visibility to ‘public’. More info here: Embed your Space in another website.

1 Like