ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.

用户在启动 Stable Diffusion WebUI Forge 时,通过 bat 脚本(如 webui-user.bat )或 Python 指令触发,Gradio 在初始化时检测到 localhost 不可访问,抛出此错误。


![[Bug]: `--reasoning-parser gemma4` silently disables structured output (xgrammar) when `enable_thinking=false`](https://www.chat-gpts.plus/wp-content/uploads/2026/06/39130-0cfbe746-768x403.jpg)





