Python gradio web pages suddenly don't render properly on iPad browsers
I have a python gradio space running:https://huggingface.co/spaces/dlflannery/GradioTestI just upgraded the Gradio SDK to 5.6.0 and now my space’s website renders totally wonky in either the Google Chrome or Safari browsers on two different  iPads (7th gen and 10th gen).  It  renders OK on both Edge and Chrome browsers on my win11 PC.
2024-11-22T02:20:32Z
Try this.#demo.launch(share=True, allowed_paths=[dataDir])
demo.launch(share=True, allowed_paths=[dataDir], ssr_mode=False)
2024-11-22T10:36:15Z
Thank you!  That works (as does reverting the Gradio to 5.4.0).However I’m puzzled:The docs for launch ssr_mode parameter state:“If True, the Gradio app will be rendered using server-side rendering mode, which is typically more performant and provides better SEO, but this requires Node 20+ to be installed on the system. If False, the app will be rendered using client-side rendering mode. If None, will use GRADIO_SSR_MODE environment variable or default to False.”This seems to say ssr_mode should have defaulted to False even if not specified in the Launch args,  No?Also, does Node20 refer to a NodeJS installation?Also, why would reverting back to 5.4.0 have fixed it?It appears something changed regarding ssr_mode between 5.4 and 5.6. (?)
2024-11-22T11:06:53Z
I was in a hurry at the time, so I forgot to give a detailed explanation.To put it simply, there is a technical problem between Gradio 5, HF and the browser, and we are currently investigating it.DiscordDiscord - Group Chat That’s All Fun & GamesDiscord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.
2024-11-22T13:26:09Z
OK, thanks!   BTW, are you suggesting that Discord is a better place for this discussion?
2024-11-22T13:31:09Z
Yes, or rather, in general, Discord is more active than the forums and posts on HF. Recently, the Hub has been gradually renovated to make it easier to use for communication, but for the time being, we will probably have to rely on Discord for in-depth discussions.Join the Hugging Face Discord!Community CallsHey@John6666@mmty!Feel free to trythis link, or alternatively, you can try searching hugging face within Discord. Let me know if it works![image]