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

Gradio cannot generate public url #5570

Closed
1 task done
Carringbrinks opened this issue Sep 15, 2023 · 4 comments
Closed
1 task done

Gradio cannot generate public url #5570

Carringbrinks opened this issue Sep 15, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Carringbrinks
Copy link

Describe the bug

share is set to True, but nothing happens after the code runs to the local url.

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

image

import gradio as gr

def greet(name):
return "Hello " + name + "!"

demo = gr.Interface(fn=greet, inputs="text", outputs="text")

if name == "main":
demo.launch(share=True)

Screenshot

No response

Logs

No response

System Info

yes

Severity

I can work around it

@Carringbrinks Carringbrinks added the bug Something isn't working label Sep 15, 2023
@abidlabs
Copy link
Member

Hi @Carringbrinks this is often due to an antivirus blocking a specific binary file from being downloaded. Please take a look at this issue: #3677 and try the suggestions there. If that doesn't solve your issue, please feel free to chime in there.

@abidlabs abidlabs closed this as not planned Won't fix, can't repro, duplicate, stale Sep 15, 2023
@Carringbrinks
Copy link
Author

What is the domain name of this specific binary software?

@abidlabs
Copy link
Member

@Carringbrinks
Copy link
Author

image
There is this file under my gradio file. You may not understand what I mean. The problem I have is starting the gradio service. When I set share=True, only a local url was returned to me, but I The code is running on a Linux server, so I want to pass the public url test, but after the local url appears in the program, there is no response, so I have no way to investigate the cause.

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

2 participants