microsoft / microsoft/OmniParser
建议官方gradio_demo里把share选项默认设置为False
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 25.4k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/microsoft/OmniParser/blob/master/gradio_demo.py
share的值默认置为True, 强烈建议把它置为False !
1.会生成一个本地内网的可访问链接
2.同时也会生成一个形式为Running on public URL的外网链接(如下图所示) 这个有点太坑了。。。一不注意就踩坑了,一方面容易泄漏部署服务的本地数据或隐私,另一方面容易造成被安全攻击的风险
涉及安全风险的选项 应在注释里特别注明或强调下风险!!!
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
Open gradio_demo.py and locate the Gradio launch configuration where share is set to True. Change the default to False, then run the demo and verify that it no longer creates a public URL by default; the issue is complete when only local access is enabled unless sharing is explicitly requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- security
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100