Any idea how this space was able to be embed privately?

#5
by gooster135 - opened

Hello. I have a weird question in that when I duplicated your space and set it to private, I was able to access/embed its subdomain.

Ie gooster135-facefusion.hf.space

I have read the documentations and I assume huggingface spaces have to be public to access them?

However, oddly enough I was able to access my subdomain for this app despite having set it to private.

This is also related to https://discuss.huggingface.co/t/sporadic-issues-accessing-https-space-subdomain-hf-space-url-on-a-private-space/65779

Owner

Hello. I have a weird question in that when I duplicated your space and set it to private, I was able to access/embed its subdomain.

Ie gooster135-facefusion.hf.space

I have read the documentations and I assume huggingface spaces have to be public to access them?

However, oddly enough I was able to access my subdomain for this app despite having set it to private.

I tried accessing your subdomain and didn’t work.
IMG_5314.jpeg

I think it worked for you because when you access the subdomain it checks your account

Try going into an incognito tab (not logged in your huggingface account) and tell me if you can still access it

Ah, no I meant that for some reason I could access my own subdomain when the space is set to private.
When I duplicated other spaces, such as https://huggingface.co/spaces/Nick088/FLUX.1-dev
I could not get it to work.

I think it worked for you because when you access the subdomain it checks your account.

This was intended.

To embed a Space its visibility needs to be public.

However, from the documentation it had to be public, even when viewing from my own account/cookie. https://huggingface.co/docs/hub/en/spaces-embed

Owner

Ah, no I meant that for some reason I could access my own subdomain when the space is set to private.
When I duplicated other spaces, such as https://huggingface.co/spaces/Nick088/FLUX.1-dev
I could not get it to work.

I think it worked for you because when you access the subdomain it checks your account.

This was intended.

To embed a Space its visibility needs to be public.

However, from the documentation it had to be public, even when viewing from my own account/cookie. https://huggingface.co/docs/hub/en/spaces-embed

I trie duplicating this space privately and I wasn’t able to reach the subdomain actually, this might be a glitch on HF end.

What if you try to delete that one, duplicate it again and see if you can still access the subdomain ?

Huh that's really weird, I tried it and I wasn't able to do it now.

Thanks for replying.

gooster135 changed discussion status to closed

Sign up or log in to comment