Everything works fine when I access the Space while logged in.
However, if I open the same Space in an incognito window — or use the .hf.space URL — I immediately get:
You have exceeded your GPU quota (30s requested vs. 0s left)
This happens even though I’m on a Pro account and the quota should be applied.
It seems like .hf.space links and incognito sessions don’t carry user login status, so they’re treated as anonymous (guest) users with no quota.
I tried it now and it worked. Maybe it was a cookie setting or something. For example, Chrome seems to have strict settings for accepting third-party cookies.
There is a bug in Graudio versions 5.12.0 and earlier, but that’s not the case this time.
the only way to get it to work it is when I am logged into the HF account, all other setting fails, my idea is to give the demo to the public, it is pretty useless if they have to create accounts in HF…
Hi @theoracle
There might be a misunderstanding. ZeroGPU quota is per user, not per Space. It means that if you are logged into your Pro account and visit the Space, you get the longer ZeroGPU quota. Non-logged-in users have less quota, so I guess you ran out of it while testing it in incognito mode. (Direct links also don’t work because login credentials are not passed.)
I have solved by hosting the gradio app on my pc passing the token there, then tunnelled with ngrok, it seems that gradio also offer to expose your app on the internet by setting share to true but I have not tested that demo.launch(server_port=7870, share=True)