lllyasviel / lllyasviel/stable-diffusion-webui-forge
I need help,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.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
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'

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at webui.py line 86, where webui_worker calls shared.demo.launch and the reported Gradio ValueError is raised. Trace how launch options are configured in the repository and verify the relevant localhost or sharing configuration; done means the reported launch error is addressed without relying on the user's local path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100