Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #2

Open
1 task done
hsb1995 opened this issue Dec 26, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@hsb1995
Copy link

hsb1995 commented Dec 26, 2023

Describe the bug

image

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

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.

Screenshot

No response

Logs

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.

System Info

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.

Severity

annoying

@hsb1995 hsb1995 added the bug Something isn't working label Dec 26, 2023
@hsb1995
Copy link
Author

hsb1995 commented Dec 26, 2023

@ShoufaChen @PeizeSun

@JustinKai0527
Copy link

same I got...... still no answer ......

@ryohachiuma
Copy link

ryohachiuma commented Dec 17, 2024

I solved the problem by simply coping gradio-box/gradio/templates/frontend/index.html to gradio-box/gradio/templates/frontend/share.html after bash scripts/build_frontend.sh command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants