Difficulty duplicating space - loads blank
I may be entirely doing something wrong, but I’ve been trying to duplicate this Space for some time now:huggingface.coCustom-Diffusion + SD Training - a Hugging Face Space by nupurkmr9Discover amazing ML apps made by the communityThe duplicated space is successfully created in my profile, as can be found here:huggingface.coCustom-Diffusion + SD Training - a Hugging Face Space by bryanbblewis11Discover amazing ML apps made by the communityHowever, I notice that when I go to the “App” tab of my duplicated space, it loads entirely blank ~80% of the time.  If I check the console logs, I tend to see .js errors.  This continues to occur after I reboot the space, or factory reboot the space.  On rare occasions, I’ll visit the space, and it will load (sometimes buttons won’t work properly, in that they’re unresponsive, etc).The source space seems to not have any of these issues whatsoever.  I’m wondering if I’m doing something wrong when trying to duplicate this, or why I might be experiencing UI/app issues (even after upgrading the space to a suitable GPU)?
2023-01-15T12:57:26Z
Hello@bryanbblewis11, I went through the process of duplicating the original Space and assigning a T4 medium hardware, and after a few minutes, it built successfully. I’ve noticed that your Space uses A10G, so I’ve also tested with A10G small, and it built successfully. Perhaps it is worth tryingFactory reboot this Spaceon your settings once more. Please let me know if that helps
2023-01-15T21:51:18Z
Thanks for the reply,@radames!  At present, it looks like this is working properly!  I did indeed try a Factory Reboot of the space a few times, but it almost seems like a browser problem, where the logs would show that the space was ready, but the space would be entirely blank.  I did try in Safari and Chrome, to note.  Anyway, this appears resolved at this moment, but I will re-open the issue is the problem returns.  Thank you!
2023-01-16T15:07:30Z
hi@bryanbblewis11, I understand now. I’ve seen this issue before. It seems like a browser cache/DNS issue. Maybe@XciDhas some extra insights here?
2023-05-25T17:17:35Z
A possible cause is iframe and CORS:Currently a private Space with streamlit gets loaded as an iframe from a different domain.   The browser responds by blocking this iframe.  In iOS and Safari you see a warning you about CORS, but for some reason there is no warning in Chrome.The workaround is to disable CORS protection - there is a checkbox in Safari and a commandline setting when launching Chrome.