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

Could not create share link #8186

Closed
1 task done
MaDHuPRi opened this issue May 1, 2024 · 9 comments
Closed
1 task done

Could not create share link #8186

MaDHuPRi opened this issue May 1, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@MaDHuPRi
Copy link

MaDHuPRi commented May 1, 2024

Describe the bug

I've been trying to run my program since a week and I've noticed its the same error each time.
My system antivirus is blocking the download of a file during the import of gradio.
gradio error

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr

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

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

demo.launch(share=True)

Screenshot

Colab notebook detected. To show errors in colab notebook, set debug=True in launch()

Could not create share link. Missing file: /usr/local/lib/python3.10/dist-packages/gradio/frpc_linux_amd64_v0.2.

Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps:

  1. Download this file: https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64
  2. Rename the downloaded file to: frpc_linux_amd64_v0.2
  3. Move the file to this location: /usr/local/lib/python3.10/dist-packages/gradio
    /usr/local/lib/python3.10/dist-packages/gradio/analytics.py:99: UserWarning: unable to parse version details from package URL.
    warnings.warn("unable to parse version details from package URL.")
    Running on https://localhost:7861/

Logs

No response

System Info

yes, I'm running it on google colab

Severity

Blocking usage of gradio

@MaDHuPRi MaDHuPRi added the bug Something isn't working label May 1, 2024
@caviarplays
Copy link

Screenshot 2024-05-01 at 15 40 02

Same here

@freddyaboulton
Copy link
Collaborator

Hello! We're having intermittent issues with our share link infrastructure. We're looking into it.

@roxas1212
Copy link

maybe down again now.

@tonylcb
Copy link

tonylcb commented May 2, 2024

yes, down again

@mostafahazim
Copy link

Facing the same issue share link not working

@plutoniumm
Copy link

plutoniumm commented May 2, 2024

Yeah they're working on it, you can keep an eye here Status

@theWitchR
Copy link

Is there any work around in the meanwhile?

@freddyaboulton
Copy link
Collaborator

freddyaboulton commented May 2, 2024

Yes, you can host your own share link server! https://github.com/huggingface/frp You can also the demo on a webserver of your own or spaces

@abidlabs
Copy link
Member

abidlabs commented May 6, 2024

Going to close this as there have been many similar issues around the share link problems. If you are still facing issues related to share links, please use this issue to report: #3677

@abidlabs abidlabs closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 2024
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

9 participants