Sygil-Dev / sygil-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
7.87k stars 883 forks source link

Added cell to colab, which allows connecting via Cloudflared. #1822

Closed aedhcarrick closed 10 months ago

aedhcarrick commented 1 year ago

Description

Please include:

Closes: # (issue)

Checklist:

aedhcarrick commented 1 year ago

This is just a draft. I cannot test at the moment. It may need to be tweaked to work. do not accept or merge until we're sure it actually works.

ZeroCool940711 commented 1 year ago

I tested the new cell and it has the same issue as with localtunnel, the IP we get from it can't be accessed, it just never loads.

aedhcarrick commented 1 year ago

my bad, second to last line should be:

threading.Thread(target=iframe_thread, daemon=True, args=(8501,)).start()

note the comma after the port number. guess args needs to be a list. should return url. example--> dodgycatseattakeout.trycloudflare.com

aedhcarrick commented 1 year ago

should be okay now. maybe.