TonyLianLong / stable-diffusion-xl-demo

A gradio web UI demo for Stable Diffusion XL 1.0, with refiner and MultiGPU support
https://colab.research.google.com/github/TonyLianLong/stable-diffusion-xl-demo/blob/main/Stable_Diffusion_XL_Demo.ipynb
267 stars 67 forks source link

Google Colab only local URL #6

Open ErnieV opened 1 year ago

ErnieV commented 1 year ago

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

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

mothormothormothor commented 1 year ago

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

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

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

mothormothormothor commented 1 year ago

works fine! thanks a lot