stable-diffusion-xl-demo icon indicating copy to clipboard operation
stable-diffusion-xl-demo copied to clipboard

Google Colab only local URL

Open ErnieV opened this issue 1 year ago • 5 comments

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

ErnieV avatar Aug 15 '23 16:08 ErnieV

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

TonyLianLong avatar Aug 15 '23 16:08 TonyLianLong

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

mothormothormothor avatar Aug 17 '23 11:08 mothormothormothor

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 avatar Aug 17 '23 16:08 TonyLianLong

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

TonyLianLong avatar Aug 17 '23 16:08 TonyLianLong

works fine! thanks a lot

mothormothormothor avatar Aug 17 '23 17:08 mothormothormothor