Open tianxiadiyishuaiuio opened 3 months ago
If you use a proxy server in Windows, you may need to set HTTP_PROXY
, HTTPS_PROXY
and NO_PROXY
environment variables. Open a command prompt, run these command, then do all work in this command prompt.
set http_proxy=<proxy-server-url>
set https_proxy=<proxy-server-url>
set no_proxy=localhost,127.0.0.1,::1
it dose not work,it always in queue
try launching as ./webui.sh --no-gradio-queue
close vpn ,亲测有用,我跟你遇到完全一样的问题,关掉代理服务器或者关闭vpn就可以解决了
Exception in thread Thread-22 (webui_worker): Traceback (most recent call last): File "threading.py", line 1016, in _bootstrap_inner File "threading.py", line 953, in run File "G:\webui_forge_cu121_torch21\webui\webui.py", line 86, in webui_worker app, local_url, share_url = shared.demo.launch( File "G:\webui_forge_cu121_torch21\system\python\lib\site-packages\gradio\blocks.py", line 2446, in launch raise ValueError( 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.
I don't kown where and how to set 'share=true'