gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
29.49k stars 2.19k forks source link

Could not create share link #8186

Closed MaDHuPRi closed 1 week ago

MaDHuPRi commented 2 weeks ago

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? 🔎

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

caviarplays commented 2 weeks ago
Screenshot 2024-05-01 at 15 40 02

Same here

freddyaboulton commented 2 weeks ago

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

roxas1212 commented 2 weeks ago

maybe down again now.

tonylcb commented 2 weeks ago

yes, down again

mostafahazim commented 2 weeks ago

Facing the same issue share link not working

plutoniumm commented 2 weeks ago

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

theWitchR commented 2 weeks ago

Is there any work around in the meanwhile?

freddyaboulton commented 2 weeks ago

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 commented 1 week ago

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: https://github.com/gradio-app/gradio/issues/3677