Gradio Interface fails to load when making space private from public

Hi Everyone,

I just faced a corner-case issue for a use case with spaces.

If I’m changing a space from Public to Private and afterwards, I do a factory reboot, the “App” doesn’t render even after being build. And there’s a index.js 404 error on console. The error goes away as soon as app gets made public again.

Is there any config/setting which should be changed to avoid this?