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

Google Colab only local URL #6

Open
ErnieV opened this issue Aug 15, 2023 · 5 comments
Open

Google Colab only local URL #6

ErnieV opened this issue Aug 15, 2023 · 5 comments

Comments

@ErnieV
Copy link

ErnieV commented Aug 15, 2023

Hi,
I'm not a very experienced developer, so I can't seem to figure this out.
When I run your code in Google Colab I get only a local URL:

Running on local URL:  http://127.0.0.1:7860/
*** Failed to connect to ec2.gradio.app:22: [Errno 110] Connection timed out

I tried to make a fork in which I forced the share property to be true :

block.queue().launch(share="true")

But the problem persists. Any idea if I'm doing something wrong?

Thank you,
Erwin Velthuis

@TonyLianLong
Copy link
Owner

This might be because gradio is temporarily down. Could you try this in a while?

@mothormothormothor
Copy link

Hi, I'm not a very experienced developer, so I can't seem to figure this out. When I run your code in Google Colab I get only a local URL:

Running on local URL:  http://127.0.0.1:7860/
*** Failed to connect to ec2.gradio.app:22: [Errno 110] Connection timed out

I tried to make a fork in which I forced the share property to be true :

block.queue().launch(share="true")

But the problem persists. Any idea if I'm doing something wrong?

Thank you, Erwin Velthuis

Hey Ernie,
I just tried the notebook and ran into the same error. Could you figure out a solution for this or is the gradio still down?

Greets,
Moto

@TonyLianLong
Copy link
Owner

TonyLianLong commented Aug 17, 2023

Seems like if you update gradio with:

!pip install gradio==3.14.0

You can get a sharing link.

I will update the requirements.txt.

@TonyLianLong
Copy link
Owner

I updated requirements.txt. It should work if you run the Colab (pip will download the right version).

@mothormothormothor
Copy link

works fine! thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants