![]() |
Image Source: https://huggingface.co/blog/gradio-joins-hf |
I recently encountered an issue with Gradio UI not rendering properly in Hugging Face private spaces, while it worked flawlessly in public spaces.
I created a hugging face public space and deployed a Gradio app that worked well. I later changed the settings of the app from public to private and tried the app, and the Gradio app's UI gets distorted, in my Chrome browser. I tried this experiment flipping between private and public in settings the results are consistent to this observation. Oh by the way, changing the browser didn't help either.
See screenshots below for reference.
Gradio App in Public Space on HuggingFace Platform
![]() |
Gradio App in Public Space on HuggingFace Platform |
Gradio App in Private Space on HuggingFace Platform
![]() |
Gradio App in Private Space on HuggingFace Platform |
Gradio UI supposedly is well integrated with HuggingFace platform and yet experiencing this is a little bit of an irritant to me.