dr413677671 / PromptGallery-stable-diffusion-webui

A prompt cookbook worked as stable-diffusion-webui extenstions.
Apache License 2.0
151 stars 16 forks source link

Google Colab Support #15

Closed R-N closed 1 year ago

R-N commented 1 year ago

It fails to connect to localhost (of course). I'm using cloudflared tunnel to load sdwebui. I tried tunneling the gallery too (at localhost:5173) to open it separately, but it doesn't work. It seems that it shuts down because it failed to bind.

INFO:     Started server process [28361]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
ERROR:    [Errno 99] error while attempting to bind on address ('::1', 5173, 0, 0): cannot assign requested address
INFO:     Waiting for application shutdown.
INFO:     Application shutdown complete.
dr413677671 commented 1 year ago

I think port 5173 is not opened on colab. Please change port number 5173 to a different number in this script.

dr413677671 commented 1 year ago

Please checkout the Readme where update some instructions on customize ip and port.